summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-04-29 09:53:25 +0200
committerJim Meyering <meyering@redhat.com>2011-04-29 10:18:48 +0200
commitc1bb7ba6ba9e685da05f48da5368d9342ba272c1 (patch)
tree5e11ccb978a8f9119c341a33a823b4b5483e34f2 /ChangeLog
parent20abe9a92c71d7ccb46484543e874f8b357d5f4f (diff)
downloadgnulib-c1bb7ba6ba9e685da05f48da5368d9342ba272c1.tar.gz
test-getcwd.c: avoid new set-but-not-used warning
* tests/test-getcwd.c (test_abort_bug): Exit nonzero for any problem, not just the glibc/abort one that getcwd-abort-bug.m4 detects. This also adds an additional test for an unlikely chdir("..") failure. * m4/getcwd-abort-bug.m4: Update this now-duplicated code to match, and adjust the code that sets gl_cv_func_getcwd_abort_bug accordingly.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3cc245ed3c..dc01efd6c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2011-04-29 Jim Meyering <meyering@redhat.com>
+ test-getcwd.c: avoid new set-but-not-used warning
+ * tests/test-getcwd.c (test_abort_bug): Exit nonzero for any problem,
+ not just the glibc/abort one that getcwd-abort-bug.m4 detects.
+ * m4/getcwd-abort-bug.m4: Update this now-duplicated code to match,
+ and adjust the code that sets gl_cv_func_getcwd_abort_bug accordingly.
+
test-hash.c: avoid a new shadowing warning
* tests/test-hash.c (main): Don't shadow "dup".