From 3770b877ea7b7fa08e88395e8c472c102f9e707e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 22 Jul 2016 01:09:52 +0100 Subject: [PATCH] Add mask for newly created symlink. Reviewed-by: Rich Salz --- apps/rehash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/rehash.c b/apps/rehash.c index 443c15e13c..aacb169198 100644 --- a/apps/rehash.c +++ b/apps/rehash.c @@ -366,6 +366,7 @@ static int do_dir(const char *dirname, enum Hash h) strerror(errno)); errs++; } + bit_set(idmask, nextid); } else if (remove_links) { /* Link to be deleted */ snprintf(buf, buflen, "%s%s%n%08x.%s%d", -- 2.25.1