145 |
static void dirent_hash_free (void *defn) |
static void dirent_hash_free (void *defn) |
146 |
{ |
{ |
147 |
struct dirent_hashent *hashent = defn; |
struct dirent_hashent *hashent = defn; |
148 |
int i; |
size_t i; |
149 |
|
|
150 |
for (i = 0; i < hashent->names_len; ++i) |
for (i = 0; i < hashent->names_len; ++i) |
151 |
free (hashent->names[i]); |
free (hashent->names[i]); |
210 |
glob_t *pglob) |
glob_t *pglob) |
211 |
{ |
{ |
212 |
struct dirent_hashent *cache; |
struct dirent_hashent *cache; |
213 |
int allocated = 4; |
size_t allocated = 4; |
214 |
int flags; |
int flags; |
215 |
int i; |
size_t i; |
216 |
|
|
217 |
pglob->gl_pathc = 0; |
pglob->gl_pathc = 0; |
218 |
pglob->gl_pathv = NULL; |
pglob->gl_pathv = NULL; |