You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@hyperreal.com> on 1996/05/22 08:46:49 UTC
Minor patch for Apache 1.0.5 (fwd)
Hmm, this seems pretty worthwhile. What do people think?
Brian
---------- Forwarded message ----------
Date: Tue, 21 May 1996 08:55:04 -0400
From: Skip Montanaro <sk...@automatrix.com>
Reply-To: Skip Montanaro <sk...@calendar.com>
To: brian@hyperreal.com
Subject: Minor patch for Apache 1.0.5
Brian,
It's not clear from the Apache Web site where one should send patches. This
isn't really a bug, just a slight change to an error message that helped me
identify the source of a bug in some of my CGI scripts. I generated the
patch from the 1.0.5 source. I suspect the patch will apply to 1.1 as well.
Thanks for an excellent piece of software.
Skip Montanaro | Today's Acronym: YAUWWWI (yow'-ee) Yet Another Useless
skip@calendar.com | World-Wide Web Idea
(518)372-5583 | --- Check out Musi-Cal: http://concerts.calendar.com/
diff -c2 util_script.c~ util_script.c
*** util_script.c~ Sat Feb 17 03:32:10 1996
--- util_script.c Tue May 21 08:33:46 1996
***************
*** 193,197 ****
if (fgets(w, MAX_STRING_LEN-1, f) == NULL) {
! log_reason ("malformed header from script", r->filename, r);
return SERVER_ERROR;
}
--- 193,197 ----
if (fgets(w, MAX_STRING_LEN-1, f) == NULL) {
! log_reason ("malformed header from script (premature end of headers)", r->filename, r);
return SERVER_ERROR;
}
***************
*** 219,223 ****
kill_timeout (r);
! log_reason ("malformed header from script", r->filename, r);
return SERVER_ERROR;
}
--- 219,223 ----
kill_timeout (r);
! log_reason ("malformed header from script (missing colon)", r->filename, r);
return SERVER_ERROR;
}