From 71d4caa5b92bbf9ce36583f3535a13980dcf17bc Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 10 Apr 2011 18:55:06 +0000 Subject: 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 --- fileset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fileset.c') 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 ) { -- cgit v1.2.1