From: Dr. Stephen Henson Date: Fri, 22 Jul 2016 00:09:52 +0000 (+0100) Subject: Add mask for newly created symlink. X-Git-Tag: OpenSSL_1_1_0-pre6~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3770b877ea7b7fa08e88395e8c472c102f9e707e;p=oweals%2Fopenssl.git Add mask for newly created symlink. Reviewed-by: Rich Salz --- 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",