commit bash-20050225 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:43:49 -05:00
parent 2206f89ab4
commit 9d2b70f04e
40 changed files with 7680 additions and 6787 deletions
+2 -1
View File
@@ -75,10 +75,11 @@ static int
_path_isdir (path)
char *path;
{
int l, x;
int l;
struct stat sb;
/* This should leave errno set to the correct value. */
errno = 0;
l = stat (path, &sb) == 0 && S_ISDIR (sb.st_mode);
#if defined (__CYGWIN__)
if (l == 0)