Fix ftell on mingw.
authorEric Blake <ebb9@byu.net>
Sat, 29 Mar 2008 22:55:56 +0000 (16:55 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 29 Mar 2008 22:55:56 +0000 (16:55 -0600)
commit857523660ddabbf1e4bba1c6f5f322451991fa08
treee30dc467c6e710763330b799c3e1bea33071c9fe
parent16e403776065fa5173be83ccf84004b287b72dc7
Fix ftell on mingw.

* lib/ftell.c (EOVERFLOW): Define if the system lacks it.
* modules/ftell-tests (Depends-on): Add binary-io.
* modules/ftello-tests (Depends-on): Likewise.
* tests/test-ftell.c (main): Enhance test to cover behavior after
ungetc.  Enforce binary mode.
* tests/test-ftello.c (main): Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/ftell.c
modules/ftell-tests
modules/ftello-tests
tests/test-ftell.c
tests/test-ftello.c