OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee026f8
)
white space
author
cgf
<cgf>
Mon, 15 Dec 2003 03:59:32 +0000
(
03:59
+0000)
committer
cgf
<cgf>
Mon, 15 Dec 2003 03:59:32 +0000
(
03:59
+0000)
winsup/cygwin/fhandler_disk_file.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/fhandler_disk_file.cc
b/winsup/cygwin/fhandler_disk_file.cc
index
d2adac6
..
a8e9ea8
100644
(file)
--- a/
winsup/cygwin/fhandler_disk_file.cc
+++ b/
winsup/cygwin/fhandler_disk_file.cc
@@
-617,7
+617,7
@@
fhandler_disk_file::opendir ()
if (!pc.isdir ())
set_errno (ENOTDIR);
- else if ((len = strlen (pc))> CYG_MAX_PATH - 3)
+ else if ((len = strlen (pc))
> CYG_MAX_PATH - 3)
set_errno (ENAMETOOLONG);
else if ((dir = (DIR *) malloc (sizeof (DIR))) == NULL)
set_errno (ENOMEM);