summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-05 10:48:41 +0000
committerJim Meyering <jim@meyering.net>2003-03-05 10:48:41 +0000
commit5bc14b90c6d2f1f0cba13348c4dc0e97a410974c (patch)
treee3988507f78e5426048d1935216c23ac43be97aa /m4
parent9bd9db554ac969c922d92b2572d5b6c2ebe3f9c5 (diff)
downloadcoreutils-5bc14b90c6d2f1f0cba13348c4dc0e97a410974c.tar.xz
add comment
Diffstat (limited to 'm4')
-rw-r--r--m4/getcwd-path-max.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/getcwd-path-max.m4 b/m4/getcwd-path-max.m4
index 3430888f5..f8a9a2bf3 100644
--- 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;