Add mask for newly created symlink.

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Dr. Stephen Henson 2016-07-22 01:09:52 +01:00
parent ee8f785873
commit 3770b877ea
1 changed files with 1 additions and 0 deletions

View File

@ -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",