diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-10 18:55:06 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-10 18:55:06 +0000 |
commit | 71d4caa5b92bbf9ce36583f3535a13980dcf17bc (patch) | |
tree | 842f0ca863af080e61c3435bee2a026f9f09b86f /fileset.c | |
parent | 332e0263edab6ec314089e9a14a25becbe78b064 (diff) | |
download | wireshark-71d4caa5b92bbf9ce36583f3535a13980dcf17bc.tar.gz wireshark-71d4caa5b92bbf9ce36583f3535a13980dcf17bc.tar.bz2 wireshark-71d4caa5b92bbf9ce36583f3535a13980dcf17bc.zip |
Add ws_fstat64(), defined to be fstat on UN*X and _fstati64 on Windows.
Use it in some places where we're getting the file size.
svn path=/trunk/; revision=36544
Diffstat (limited to 'fileset.c')
-rw-r--r-- | fileset.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -188,7 +188,7 @@ fileset_add_file(const char *dirname, const char *fname, gboolean current) if(fh != -1) { /* Get statistics */ - result = fstat( fh, &buf ); + result = ws_fstat64( fh, &buf ); /* Show statistics if they are valid */ if( result == 0 ) { |