httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject Minor patch for Apache 1.0.5 (fwd)
Date Wed, 22 May 1996 06:46:49 GMT

Hmm, this seems pretty worthwhile.  What do people think?

	Brian

---------- Forwarded message ----------
Date: Tue, 21 May 1996 08:55:04 -0400
From: Skip Montanaro <skip@automatrix.com>
Reply-To: Skip Montanaro <skip@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;
          }



Mime
View raw message