aboutsummaryrefslogtreecommitdiffstats
path: root/fileset.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-10 18:55:06 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-10 18:55:06 +0000
commit7b7ee4207b88a36b162ba1db52c1d04b470eb3c0 (patch)
tree842f0ca863af080e61c3435bee2a026f9f09b86f /fileset.c
parent451940917261a9a6514425526e9c34aa715574d2 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36544 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'fileset.c')
-rw-r--r--fileset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fileset.c b/fileset.c
index b2db436383..63094c478d 100644
--- a/fileset.c
+++ b/fileset.c
@@ -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 ) {