From 5bc14b90c6d2f1f0cba13348c4dc0e97a410974c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Mar 2003 10:48:41 +0000 Subject: add comment --- m4/getcwd-path-max.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2