wireshark/plugins
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
..
asn1 Replace lseek/fstat by ws_lseek64/ws_fstat64 2014-07-25 21:26:01 +00:00
docsis convert to proto_tree_add_subtree[_format] for plugin dissectors 2014-07-10 01:51:21 +00:00
easy_codec Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
ethercat convert to proto_tree_add_subtree[_format] for plugin dissectors 2014-07-10 01:51:21 +00:00
gryphon convert to proto_tree_add_subtree[_format] for plugin dissectors 2014-07-10 01:51:21 +00:00
irda make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
m2m make-dissectors-reg: optimize by factoring out the loops 2014-07-06 08:08:20 +00:00
mate Use forward slashes in paths to runlex.sh 2014-07-20 13:15:59 +00:00
opcua convert to proto_tree_add_subtree[_format] for plugin dissectors 2014-07-10 01:51:21 +00:00
profinet Strip some trailing whitespace; Fix some indentation; Add editor-modelines as needed. 2014-07-11 03:20:54 +00:00
stats_tree Add .rc files to the sources to have them included in the build 2014-06-20 23:58:22 +00:00
tpg Add .rc files to the sources to have them included in the build 2014-06-20 23:58:22 +00:00
unistim convert to proto_tree_add_subtree[_format] for plugin dissectors 2014-07-10 01:51:21 +00:00
wimax convert to proto_tree_add_subtree[_format] for plugin dissectors 2014-07-10 01:51:21 +00:00
wimaxasncp Use forward slashes in paths to runlex.sh 2014-07-20 13:15:59 +00:00
wimaxmacphy convert to proto_tree_add_subtree[_format] for plugin dissectors 2014-07-10 01:51:21 +00:00
Custom.m4.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.make.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Custom.nmake.example Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.am Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.common.inc Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00
Makefile.nmake Continue to remove $Id$ from top of file 2014-03-31 18:48:06 +00:00