This website works better with JavaScript.
首頁
探索
說明
登入
Immanuel
/
nnn
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
NAME_MAX does not include NULL char
master
Arun Prakash Jana
7 年之前
父節點
3da5f5d130
當前提交
ca28580746
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID:
A75979F35C080412
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
nnn.c
+ 1
- 1
nnn.c
查看文件
@@ -1855,7 +1855,7 @@ dentfill(char *path, struct entry **dents,
}
dentp = &(*dents)[n];
xstrlcpy(pnamebuf[n].pname, namep, NAME_MAX);
xstrlcpy(pnamebuf[n].pname, namep, NAME_MAX
+ 1
);
dentp->name = pnamebuf[n].pname;
dentp->mode = sb.st_mode;
Write
Preview
Loading…
取消
儲存