http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36510
User: guy
Date: 2011/04/07 02:53 PM
Log:
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 :)
Directory: /trunk/wiretap/
Changes Path Action
+5 -0 file_wrappers.h Modified
+3 -5 wtap.c Modified