diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-07 21:53:31 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-07 21:53:31 +0000 |
commit | d00527f3690b6ca2b685d77538b1ff6c7d645da9 (patch) | |
tree | 4427ffcb9300a5c13bf7b616b680718387cf6763 /wiretap/iseries.c | |
parent | 538b62429d7097d0415f91a10246e2ecca9ff149 (diff) | |
download | wireshark-d00527f3690b6ca2b685d77538b1ff6c7d645da9.tar.gz |
From Jakub Zawadzki:
Introduce file_clearerr
I'm unsure of this patch,
gzclearerr() is used to clear the end-of-file mark, but for FILE
there's function which do the same (clearerr).
I created test program if clearerr() is needed for tailing file.
and it seems to work without it (at least on Linux, so for
!HAVE_LIBZ I commented it out).
For now this patch introduce file_clearerr macro, and define it
only when EOF marking must be cleared (i.e. when HAVE_LIBZ and
HAVE_GZCLEARERR are defined).
So everything works like before, patch just to keep same prefix
for file interface :)
svn path=/trunk/; revision=36510
Diffstat (limited to 'wiretap/iseries.c')
0 files changed, 0 insertions, 0 deletions