git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4428 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-06-18 08:09:48 +00:00
parent c8daec3ca5
commit 47b0c7d936

View file

@ -1272,9 +1272,11 @@ static NSFileManager* defaultManager = nil;
if (S_IFLNK == (S_IFMT & statbuf.st_mode))
break;
}
// Follow links - check for directory
if (!stat(cpath, &statbuf))
break;
else
{
if (!stat(cpath, &statbuf))
break;
}
if (S_IFDIR == (S_IFMT & statbuf.st_mode))
{
[self recurseIntoDirectory: currentFilePath