diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-11-27 16:01:04 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-11-27 16:01:04 +0000 |
commit | 49051f8ea4551229fa656eba04031af51a5491c5 (patch) | |
tree | dda2125ba5562b042cb9ed42e8dbe1a99fb8e921 /ChangeLog | |
parent | 9114625bad23441c89eac5a7dcf319a9714ca31f (diff) | |
download | glibc-49051f8ea4551229fa656eba04031af51a5491c5.zip glibc-49051f8ea4551229fa656eba04031af51a5491c5.tar.gz glibc-49051f8ea4551229fa656eba04031af51a5491c5.tar.bz2 |
Fix libio/bug-ungetwc1.c warning.
This patch fixes a warning "variable 'wc' set but not used" in
libio/bug-ungetwc1.c.
The test didn't verify much about the results of the functions it
called. This patch makes it check the result of getwc (thereby fixing
the warning), check end of file does not arrive too late in the getwc
loop, and check EOF is no longer set after ungetwc.
Tested for x86_64.
* libio/bug-ungetwc1.c (do_test): Verify results of getwc and
feof.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,8 @@ 2014-11-27 Joseph Myers <joseph@codesourcery.com> + * libio/bug-ungetwc1.c (do_test): Verify results of getwc and + feof. + * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a variable. |