X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ChangeLog;h=b53877e41224f8089d33e2407912fb24a0bdc3cb;hb=2a09ae5d741ea9f31fa17c6460d8ca8cf63bd7d8;hp=6218a8e72f07b1a42ab1b0fe751b83b02e9d7cf8;hpb=16332895663c60d815322830a027ec5f660e2639;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 6218a8e72..b53877e41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,121 @@ +2007-04-27 Bruno Haible + + * lib/sys_socket_.h: Renamed from lib/socket_.h. + * modules/sys_socket (Makefile.am): Update. + + * lib/sys_stat_.h: Renamed from lib/stat_.h. + * modules/sys_stat (Makefile.am): Update. + +2007-04-27 Eric Blake + + * lib/freading.h: Improve comments. + * lib/fwriting.h: Likewise. + * lib/fflush.c: Likewise. + + Fix closein for mingw. + * modules/closein-tests: Add tests for closein. + * tests/test-closein.c: New file. + * tests/test-closein.sh: Likewise. + * lib/unistd_.h [!SEEK_CUR]: Mingw also needs stdlib.h for _exit. + * lib/closein.c (close_stdin): Don't fflush non-seekable streams. + +2007-04-27 Bruno Haible + + * lib/inttypes_.h [_DECC]: Don't use #include_next if the compiler + version is < 6. + * lib/math_.h [__DECC]: Likewise. + * lib/stdio_.h [__DECC]: Likewise. + * lib/stdlib_.h [__DECC]: Likewise. + * lib/string_.h [__DECC]: Likewise. + * lib/time_.h [__DECC]: Likewise. + * lib/wchar_.h [__DECC]: Likewise. + * lib/wctype_.h [__DECC]: Likewise. + +2007-04-27 Bruno Haible + + * tests/test-fbufmode.c (main): Relax test, to avoid failure on mingw. + +2007-04-27 Bruno Haible + + * lib/fflush.c: Add comments. + * modules/fpurge-tests (Depends-on): Add fflush. + * modules/freadable-tests (Depends-on): Likewise. + * modules/fwritable-tests (Depends-on): Likewise. + +2007-04-27 Charles Wilson + + * m4/argz.m4 (gl_FUNC_ARGZ): Use !HAVE_WORKING_ARGZ instead of + SYSTEM_ARGZ_IS_BROKEN. Also, minor stylistic improvements. + Report by Bruno Haible . + +2007-04-26 Eric Blake + + Fix fflush on mingw. + * modules/fflush (Depends-on): Add freading. + * lib/fflush.c (rpl_fflush): Use freading to avoid losing buffered + but unread data. + +2007-04-26 Eric Blake + and Bruno Haible + + Implement freading and fwriting. + * lib/freading.c: New file. + * lib/freading.h: Likewise. + * m4/freading.m4: Likewise. + * modules/freading: Likewise. + * modules/freading-tests: Likewise. + * tests/test-freading.c: Likewise. + * lib/fwriting.c: New file. + * lib/fwriting.h: Likewise. + * m4/fwriting.m4: Likewise. + * modules/fwriting: Likewise. + * modules/fwriting-tests: Likewise. + * tests/test-fwriting.c: Likewise. + * MODULES.html.sh (File stream based Input/Output): Mention them. + +2007-04-26 Bruno Haible + + * lib/stdio_.h (fseeko, ftello): Check that off_t has the same size as + 'long' when we assume it. + Suggested by Eric Blake. + +2007-04-26 Bruno Haible + + Ensure fseeko, ftello are declared on glibc systems. + * modules/fflush (configure.ac-early): Require AC_FUNC_FSEEKO. + * modules/fseeko (configure.ac-early): Likewise. + * modules/ftello (configure.ac-early): Likewise. + * m4/fflush.m4 (gl_REPLACE_FFLUSH): Don't define HAVE_FSEEKO, rely on + AC_FUNC_FSEEKO for this. + * m4/fseeko.m4 (gl_FUNC_FSEEKO): Inline gl_CHECK_FSEEKO. + (gl_CHECK_FSEEKO): Remove macro. + +2007-04-26 Bruno Haible + + * tests/test-fflush.c (main): Also check the ftell result after + fflush and fseek/fseeko. + * lib/fflush.c (rpl_fflush): For BSD implementations, update the + file descriptor position cache in the stream. + * lib/fseeko.c (rpl_fseeko): Likewise. + +2007-04-26 Bruno Haible + + * modules/fflush-tests (Depends-on): Add fseeko. + +2007-04-25 Charles Wilson + Ralf Wildenhues + + * lib/argz_.h: ensure error_t definition is obtained in same + mechanism system argz.h would have. + * m4/argz.m4 (gl_FUNC_ARGZ): add new test to check if $host's + argz facilities are known bad. Err on the side of caution if + cross-compiling. + +2007-04-25 Eric Blake + + * lib/fpurge.c (includes): Use stdlib.h for free. + * tests/test-fflush.c (main): Also test fflush-fseeko. + 2007-04-25 Bruno Haible Make fflush+fseek POSIX-compliant on FreeBSD and MacOS X.