projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd9db5
)
add comment
author
Jim Meyering
<jim@meyering.net>
Wed, 5 Mar 2003 10:48:41 +0000
(10:48 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 5 Mar 2003 10:48:41 +0000
(10:48 +0000)
m4/getcwd-path-max.m4
patch
|
blob
|
history
diff --git
a/m4/getcwd-path-max.m4
b/m4/getcwd-path-max.m4
index
3430888
..
f8a9a2b
100644
(file)
--- a/
m4/getcwd-path-max.m4
+++ b/
m4/getcwd-path-max.m4
@@
-88,7
+88,11
@@
main ()
break;
}
if ((c = getcwd (buf, PATH_MAX)) == NULL)
- break;
+ {
+ /* This allows any failure to indicate there is no bug.
+ FIXME: check errno? */
+ break;
+ }
if ((len = strlen (c)) != cwd_len)
{
fail = 1;