You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@locus.apache.org on 2000/10/07 00:37:52 UTC

cvs commit: apache-2.0/src/lib/apr/file_io/win32 filestat.c

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;