Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Immanuel
/
nnn
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
NAME_MAX does not include NULL char
master
Arun Prakash Jana
7 anni fa
parent
3da5f5d130
commit
ca28580746
Non sono state trovate chiavi note per questa firma nel database
ID Chiave GPG:
A75979F35C080412
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
nnn.c
+ 1
- 1
nnn.c
Vedi File
@@ -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…
Annulla
Salva