[systemd-commits] src/delta

Lukas Nykryn lnykryn at kemper.freedesktop.org
Thu Jan 9 07:44:05 PST 2014


 src/delta/delta.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 277f2f75f69bbd5868c74991011c804ce00dfed9
Author: Lukas Nykryn <lnykryn at redhat.com>
Date:   Thu Jan 9 16:43:00 2014 +0100

    delta: ensure that d_type will be set on every fs

diff --git a/src/delta/delta.c b/src/delta/delta.c
index 19eaed3..369f8f8 100644
--- a/src/delta/delta.c
+++ b/src/delta/delta.c
@@ -316,6 +316,8 @@ static int enumerate_dir(Hashmap *top, Hashmap *bottom, Hashmap *drops, const ch
                 if (!de)
                         return -errno;
 
+                dirent_ensure_type(d, de);
+
                 if (dropins && de->d_type == DT_DIR && endswith(de->d_name, ".d"))
                         enumerate_dir_d(top, bottom, drops, path, de->d_name);
 



More information about the systemd-commits mailing list