diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-08-01 12:06:45 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-08-01 16:25:06 +0300 |
commit | 24ad8291bbcdb523f1aa58d75e29f9ffeb484b52 (patch) | |
tree | 6ade09335ced804546844068d89f2bf591efc045 /build | |
parent | 9c26bd05eaa5d6a180d33432585e9fbce0004a41 (diff) | |
download | rpm-24ad8291bbcdb523f1aa58d75e29f9ffeb484b52.tar.gz rpm-24ad8291bbcdb523f1aa58d75e29f9ffeb484b52.tar.bz2 rpm-24ad8291bbcdb523f1aa58d75e29f9ffeb484b52.zip |
Dont bother asking libmagic about directories
- There's no (relevant) additional information to be gained from passing
directories to libmagic and we already have this info available in the
file mode. This permits nice and easy handling of %ghost directories
(related to RhBug:839656)
Diffstat (limited to 'build')
-rw-r--r-- | build/rpmfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c index f5082e366..94cbd4c97 100644 --- a/build/rpmfc.c +++ b/build/rpmfc.c @@ -954,7 +954,7 @@ rpmRC rpmfcClassify(rpmfc fc, ARGV_t argv, rpm_mode_t * fmode) case S_IFBLK: ftype = "block special"; break; case S_IFIFO: ftype = "fifo (named pipe)"; break; case S_IFSOCK: ftype = "socket"; break; - case S_IFDIR: + case S_IFDIR: ftype = "directory"; break; case S_IFLNK: case S_IFREG: default: |