Return to sftp.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.228, 2023/03/08 06:21:32 | version 1.229, 2023/03/12 09:41:18 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
for (nentries = 0; g.gl_pathv[nentries] != NULL; nentries++) | for (nentries = 0; g.gl_pathv[nentries] != NULL; nentries++) | ||
; /* count entries */ | ; /* count entries */ | ||
indices = calloc(nentries, sizeof(*indices)); | indices = xcalloc(nentries, sizeof(*indices)); | ||
for (i = 0; i < nentries; i++) | for (i = 0; i < nentries; i++) | ||
indices[i] = i; | indices[i] = i; | ||