aboutsummaryrefslogtreecommitdiffstats
path: root/fileset.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-04-10 18:55:06 +0000
committerGuy Harris <guy@alum.mit.edu>2011-04-10 18:55:06 +0000
commit71d4caa5b92bbf9ce36583f3535a13980dcf17bc (patch)
tree842f0ca863af080e61c3435bee2a026f9f09b86f /fileset.c
parent332e0263edab6ec314089e9a14a25becbe78b064 (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. svn path=/trunk/; revision=36544
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 b2db436..63094c4 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 ) {