From: William A. Rowe Jr Date: Thu, 24 Jan 2002 15:31:31 +0000 (+0000) Subject: If you only mean to ask one question, why ask a dozen? X-Git-Tag: 2.0.31~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e7735a5ec494f37fd47b014d898fccc1dde47da;p=apache If you only mean to ask one question, why ask a dozen? Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93000 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/dav/fs/lock.c b/modules/dav/fs/lock.c index f063fc5e12..bfc37c2831 100644 --- a/modules/dav/fs/lock.c +++ b/modules/dav/fs/lock.c @@ -844,8 +844,8 @@ static dav_error * dav_fs_load_locknull_list(apr_pool_t *p, const char *dirpath, 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",