/filefind/C/filefind.c |
---|
70,8 → 70,8 |
{ |
struct stat entryInfo; |
if( ( ! strncmp( entry.d_name, ".", PATH_MAX2 ) == 0 ) && |
( ! strncmp( entry.d_name, "..", PATH_MAX2 ) == 0 ) ) |
if( ( strncmp( entry.d_name, ".", PATH_MAX2 ) != 0 ) && |
( strncmp( entry.d_name, "..", PATH_MAX2 ) != 0 ) ) |
{ |
sprintf(pfile,"%s/%s", curdir2, entry.d_name); |
if (isdir(entry.d_name) && ! issymlink(entry.d_name)) |