dgaudet 98/01/21 14:15:57
Modified: src CHANGES
src/main http_core.c
Log:
"File does not exist" error message is erroneously including errno.
Submitted by: Marc Slemko
Reviewed by: Dean Gaudet, Jim Jagielski
Revision Changes Path
1.579 +3 -0 apachen/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apachen/src/CHANGES,v
retrieving revision 1.578
retrieving revision 1.579
diff -u -r1.578 -r1.579
--- CHANGES 1998/01/21 22:14:11 1.578
+++ CHANGES 1998/01/21 22:15:54 1.579
@@ -1,5 +1,8 @@
Changes with Apache 1.3b4
+ *) "File does not exist" error message was erroneously including the
+ errno. [Marc Slemko]
+
*) Defining GPROF will disable profiling in the parent and enable it
in the children. If you're profiling under Linux this is pretty much
necessary because SIGPROF is lost across a fork(). [Dean Gaudet]
1.147 +3 -2 apachen/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /export/home/cvs/apachen/src/main/http_core.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -r1.146 -r1.147
--- http_core.c 1998/01/13 23:11:10 1.146
+++ http_core.c 1998/01/21 22:15:56 1.147
@@ -1845,8 +1845,9 @@
if (r->method_number == M_PUT) return METHOD_NOT_ALLOWED;
if (r->finfo.st_mode == 0 || (r->path_info && *r->path_info)) {
- aplog_error(APLOG_MARK, APLOG_ERR, r->server, "File does not exist: %s",
- r->path_info ? pstrcat(r->pool, r->filename, r->path_info,
NULL)
+ aplog_error(APLOG_MARK, APLOG_ERR|APLOG_NOERRNO, r->server,
+ "File does not exist: %s", r->path_info ?
+ pstrcat(r->pool, r->filename, r->path_info, NULL)
: r->filename);
return NOT_FOUND;
}