提交 3770b877 编写于 作者: D Dr. Stephen Henson

Add mask for newly created symlink.

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 ee8f7858
...@@ -366,6 +366,7 @@ static int do_dir(const char *dirname, enum Hash h) ...@@ -366,6 +366,7 @@ static int do_dir(const char *dirname, enum Hash h)
strerror(errno)); strerror(errno));
errs++; errs++;
} }
bit_set(idmask, nextid);
} else if (remove_links) { } else if (remove_links) {
/* Link to be deleted */ /* Link to be deleted */
snprintf(buf, buflen, "%s%s%n%08x.%s%d", snprintf(buf, buflen, "%s%s%n%08x.%s%d",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册