mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-14 07:30:49 +02:00
commit bash-20050225 snapshot
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user