diff options
author | Jim Meyering <meyering@redhat.com> | 2011-04-29 09:53:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-04-29 10:18:48 +0200 |
commit | c1bb7ba6ba9e685da05f48da5368d9342ba272c1 (patch) | |
tree | 5e11ccb978a8f9119c341a33a823b4b5483e34f2 /ChangeLog | |
parent | 20abe9a92c71d7ccb46484543e874f8b357d5f4f (diff) | |
download | gnulib-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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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". |