瀏覽代碼
Skip entries in case fstatat() fails, do not exit
master
Arun Prakash Jana
7 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: A75979F35C080412
共有
1 個檔案被更改,包括
2 行新增 和
3 行删除
-
nnn.c
|
|
@@ -1814,9 +1814,8 @@ dentfill(char *path, struct entry **dents, |
|
|
|
continue; |
|
|
|
|
|
|
|
if (fstatat(fd, namep, &sb, AT_SYMLINK_NOFOLLOW) == -1) { |
|
|
|
if (*dents) |
|
|
|
free(*dents); |
|
|
|
errexit(); |
|
|
|
DPRINTF_S(namep); |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
if (n == total_dents) { |
|
|
|