diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-10 20:59:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-10 20:59:10 +0000 |
commit | 4fdcc5c18044f7af0e4d892819e202090199bc4b (patch) | |
tree | d13512b25cf373d606ea059eae4f836085f3a99e /capture_opts.c | |
parent | f2008e4dd388076f50caa024d1900afa2116b7b9 (diff) |
Rename ws_stat to ws_stat64, and make it take a pointer to a ws_statb64
as an argument, along the lines of ws_fstat64, and, on Windows, make it
use _wstati64, to handle 64-bit file sizes.
svn path=/trunk/; revision=36547
Diffstat (limited to 'capture_opts.c')
-rw-r--r-- | capture_opts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_opts.c b/capture_opts.c index c13adb5ec0..de857ad06c 100644 --- a/capture_opts.c +++ b/capture_opts.c @@ -683,9 +683,9 @@ gboolean capture_opts_trim_iface(capture_options *capture_opts, const char *capt /* copied from filesystem.c */ static int capture_opts_test_for_fifo(const char *path) { - struct stat statb; + ws_statb64 statb; - if (ws_stat(path, &statb) < 0) + if (ws_stat64(path, &statb) < 0) return errno; if (S_ISFIFO(statb.st_mode)) |