diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 12:29:56 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-08-31 12:29:56 +0300 |
commit | 4ef65c9a4218f9b354b00708ee2126fb1b7bec74 (patch) | |
tree | 48adea6ba921d715af83d2e52a4bef38e6bbc87d /lib/fs.c | |
parent | 1cd1eba2ab619afd17228e326dda0a1b1b4c9a2f (diff) | |
download | rpm-4ef65c9a4218f9b354b00708ee2126fb1b7bec74.tar.gz rpm-4ef65c9a4218f9b354b00708ee2126fb1b7bec74.tar.bz2 rpm-4ef65c9a4218f9b354b00708ee2126fb1b7bec74.zip |
Replace equal/not equal uses of str[n]cmp() with rstreq[n] in misc helpers
Diffstat (limited to 'lib/fs.c')
-rw-r--r-- | lib/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -316,7 +316,7 @@ int rpmGetFilesystemUsage(const char ** fileList, rpm_loff_t * fssizes, strcpy(buf, sourceDir); } - if (strcmp(lastDir, buf)) { + if (!rstreq(lastDir, buf)) { strcpy(dirName, buf); chptr = dirName + strlen(dirName) - 1; while (stat(dirName, &sb)) { |