wireshark/filetap
Peter Wu 0492921adc Replace lseek/fstat by ws_lseek64/ws_fstat64
lseek returns an off_t type which is system-dependent. Use ws_lseek64 in
favor of lseek as that supports 64-bit quanities.

Use ws_fstat64 instead of stat to support 64-bit file sizes on Windows.
For the majority of the changes, this makes no difference as they do not
apply to Windows ("ifndef _WIN32"; availability of st_blksize).

There are no other users of "struct stat" besides the portability code
in wsutil. Forbid the use of fstat and lseek in checkAPIs.

Change-Id: I17b930ab9543f21a9d3100f3795d250c9b9ae459
Reviewed-on: https://code.wireshark.org/review/3198
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-25 21:26:01 +00:00
..
CMakeLists.txt Only one buffer.c, please. 2014-07-15 23:43:32 +00:00
Makefile.am 1.11.4 → 1.99.0. 2014-05-23 20:57:42 +00:00
Makefile.common Only one buffer.c, please. 2014-07-15 23:43:32 +00:00
Makefile.nmake Revert "More needed to get rid of "lib" in "libwsutil" on Windows." 2014-07-10 00:59:07 +00:00
file_access.c Only one buffer.c, please. 2014-07-15 23:43:32 +00:00
ft_file_wrappers.c Replace lseek/fstat by ws_lseek64/ws_fstat64 2014-07-25 21:26:01 +00:00
ft_file_wrappers.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ftap-int.h Remove all $Id$ from top of file 2014-03-04 14:27:33 +00:00
ftap.c Only one buffer.c, please. 2014-07-15 23:43:32 +00:00
ftap.h Only one buffer.c, please. 2014-07-15 23:43:32 +00:00