URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4897ef173aae7e38221937258d2c506a198c2c17
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
4897ef1 by Guy Harris (guy@xxxxxxxxxxxx):
Just use <wsutil/file_util.h>.
That removes the last bit of Wireshark source that explicitly includes
io.h and most if not all of the code that explicitly includes unistd.h
for read()/write()/lseek()/close(). I'll update the documentation to
recommend including <wsutil/file.h> for all file I/O.
Change-Id: I7c8be50447daba0dc6a78c7331e637468710b2d8
Reviewed-on: https://code.wireshark.org/review/11625
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 0162e54 Clean up includes of unistd.h, fcntl.h, and sys/stat.h.
adds 4897ef1 Just use <wsutil/file_util.h>.
Summary of changes:
sync_pipe_write.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)