diff options
author | Bruno Haible <bruno@clisp.org> | 2007-08-20 22:09:08 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-08-20 22:09:08 +0000 |
commit | 7042775894700f8be0e6bc2a5ff3c49fc77296bc (patch) | |
tree | 364d53ec1db89686ee960be99d6dcd1f6994b8ff /ChangeLog | |
parent | 5bca97aedcd1e07c1bd80c242239b83c7df9194d (diff) | |
download | gnulib-7042775894700f8be0e6bc2a5ff3c49fc77296bc.tar.gz |
Optimization: no need to flush stdin if we can determine quickly that stdin's
input buffer is empty.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,5 +1,12 @@ 2007-08-19 Bruno Haible <bruno@clisp.org> + * modules/closein (Depends-on): Add freadahead. + * lib/closein.c: Include freadahead.h. + (close_stdin): Skip the fseeko and fflush calls if freadahead(stdin) + is zero. + +2007-08-19 Bruno Haible <bruno@clisp.org> + * modules/freadahead-tests: New file. * tests/test-freadahead.sh: New file. * tests/test-freadahead.c: New file. |