/[winpt]/trunk/PTD/wptWipeFile.cpp
ViewVC logotype

Diff of /trunk/PTD/wptWipeFile.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 53 by twoaday, Wed Nov 2 09:01:29 2005 UTC revision 55 by twoaday, Wed Nov 2 09:31:16 2005 UTC
# Line 388  GetFileSize64 (const char * path) Line 388  GetFileSize64 (const char * path)
388      if (fp) {      if (fp) {
389          struct _stati64 statbuf;          struct _stati64 statbuf;
390          if (_fstati64 (fileno (fp), &statbuf) == -1)          if (_fstati64 (fileno (fp), &statbuf) == -1)
391              return -1;              return (DDWORD)-1;
392          fclose (fp);          fclose (fp);
393          return statbuf.st_size;          return statbuf.st_size;
394      }      }
395      return -1;      return (DDWORD)-1;
396  }  }
397    
398    

Legend:
Removed from v.53  
changed lines
  Added in v.55

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26