httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/win32 filestat.c
Date Fri, 06 Oct 2000 22:37:52 GMT
wrowe       00/10/06 15:37:52

  Modified:    src/lib/apr/file_io/win32 filestat.c
  Log:
    Oh, duh.  Typo.
  
  Revision  Changes    Path
  1.28      +2 -4      apache-2.0/src/lib/apr/file_io/win32/filestat.c
  
  Index: filestat.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/filestat.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- filestat.c	2000/10/06 22:02:01	1.27
  +++ filestat.c	2000/10/06 22:37:52	1.28
  @@ -276,12 +276,10 @@
       FileTimeToAprTime(&finfo->ctime, &FileInformation.ftCreationTime);
       FileTimeToAprTime(&finfo->mtime, &FileInformation.ftLastWriteTime);
   
  -    /* File size 
  -     * Note: This cannot handle files greater than can be held by an int 
  -     * XXX: Do we want to tag if nFileSizeHigh as -1 (or 0x7fffffff?)
  +    /* Note: This cannot handle files greater than can be held by an int 
        */
       finfo->size = FileInformation.nFileSizeLow;
  -    if (finfo->size < 0 || FileInformation.nFileSizeLow)
  +    if (finfo->size < 0 || FileInformation.nFileSizeHigh)
           finfo->size = 0x7fffffff;
   
       return APR_SUCCESS;
  
  
  

Mime
View raw message