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...@apache.org on 2002/01/24 16:31:31 UTC

cvs commit: httpd-2.0/modules/dav/fs lock.c

wrowe       02/01/24 07:31:31

  Modified:    modules/dav/fs lock.c
  Log:
    If you only mean to ask one question, why ask a dozen?
  
  Submitted by:	Greg Stein
  
  Revision  Changes    Path
  1.22      +2 -2      httpd-2.0/modules/dav/fs/lock.c
  
  Index: lock.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/fs/lock.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- lock.c	23 Jan 2002 18:28:05 -0000	1.21
  +++ lock.c	24 Jan 2002 15:31:31 -0000	1.22
  @@ -844,8 +844,8 @@
   	return NULL;
       }
   
  -    rv = apr_file_info_get(&finfo, APR_FINFO_NORM, file);
  -    if (rv != APR_SUCCESS && rv != APR_INCOMPLETE) {
  +    rv = apr_file_info_get(&finfo, APR_FINFO_SIZE, file);
  +    if (rv != APR_SUCCESS) {
   	err = dav_new_error(p, HTTP_INTERNAL_SERVER_ERROR, 0,
   			    apr_psprintf(p,
   					"Opened but could not stat file %s",