version 1.37, 2003/08/07 11:14:49 |
version 1.38, 2003/09/09 14:44:35 |
Line 1459 Dir_AddDir(Lst path, const char *name) |
|
Line 1459 Dir_AddDir(Lst path, const char *name) |
|
p->refCount = 1; |
p->refCount = 1; |
Hash_InitTable (&p->files, -1); |
Hash_InitTable (&p->files, -1); |
|
|
/* |
|
* Skip the first two entries -- these will *always* be . and .. |
|
*/ |
|
(void)readdir(d); |
|
(void)readdir(d); |
|
|
|
while ((dp = readdir (d)) != (struct dirent *) NULL) { |
while ((dp = readdir (d)) != (struct dirent *) NULL) { |
#if defined(sun) && defined(d_ino) /* d_ino is a sunos4 #define for d_fileno */ |
#if defined(sun) && defined(d_ino) /* d_ino is a sunos4 #define for d_fileno */ |
/* |
/* |