Joseph Myers 49051f8ea4 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.
2014-11-27 16:01:04 +00:00
..
2006-08-14 22:16:14 +00:00
2009-09-02 19:45:33 -07:00
2014-11-12 16:22:51 +00:00
2014-11-12 16:22:51 +00:00
2014-11-12 16:22:51 +00:00
2012-05-24 23:06:20 +02:00
2014-11-24 15:03:45 +05:30
2006-01-19 01:35:28 +00:00
2006-12-13 23:17:54 +00:00