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 2001/04/12 15:32:33 UTC
cvs commit: httpd-2.0/modules/dav/fs repos.c
wrowe 01/04/12 06:32:33
Modified: modules/dav/fs repos.c
Log:
It's critical that apps use the APR_STATUS_IS_EFOO() canonicalization
wrappers, or some platforms errors are missed.
Revision Changes Path
1.54 +1 -1 httpd-2.0/modules/dav/fs/repos.c
Index: repos.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/dav/fs/repos.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- repos.c 2001/03/14 02:32:03 1.53
+++ repos.c 2001/04/12 13:32:33 1.54
@@ -868,7 +868,7 @@
apr_status_t status;
status = apr_file_write_full(stream->f, buf, bufsize, NULL);
- if (status == APR_ENOSPC) {
+ if (APR_STATUS_IS_ENOSPC(status)) {
return dav_new_error(stream->p, HTTP_INSUFFICIENT_STORAGE, 0,
"There is not enough storage to write to "
"this resource.");