Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 20369 invoked by uid 6000); 30 Dec 1997 20:39:54 -0000 Received: (qmail 20361 invoked from network); 30 Dec 1997 20:39:53 -0000 Received: from prairie.nodak.edu (root@134.129.111.80) by taz.hyperreal.org with SMTP; 30 Dec 1997 20:39:53 -0000 Received: from prairie.nodak.edu (junker.cs.ndsu.NoDak.edu [134.129.125.144]) by prairie.NoDak.edu (8.8.8/8.8.8) with ESMTP id OAA03624 for ; Tue, 30 Dec 1997 14:39:51 -0600 (CST) Message-ID: <34A95D2E.D46B13E6@prairie.nodak.edu> Date: Tue, 30 Dec 1997 14:44:30 -0600 From: Igor Tatarinov X-Mailer: Mozilla 4.03 [en] (WinNT; I) MIME-Version: 1.0 To: new-httpd@apache.org Subject: Re: problem with DOS fix patch References: <3.0.3.32.19971230113404.009baac0@localhost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org > Okay, the current CVS tree for 1.3 gives a 501 "Method not Implemented" > error, "can not do GE on /statu" when trying to access "/status", and > similar errors trying to access anything else. However, backing out the > DOS fix (reverting to rev 1.79 of util.c) doesn't fix the problem, so it > was something else committed to CVS recently which started causing this, > probably ap_cpystrn. So the DOS patch is probably okay, but we need to > look at ap_cpystrn again. > > Brian Seems like the problem is in getword_white. Here is a patch: Index: util.c =================================================================== RCS file: /cvs/apachen/src/main/util.c,v retrieving revision 1.80 diff -c -r1.80 util.c *** util.c 1997/12/30 19:03:18 1.80 --- util.c 1997/12/30 20:37:29 *************** *** 540,546 **** } res = palloc(atrans, pos + 1); ! ap_cpystrn(res, *line, pos); while (isspace((*line)[pos])) ++pos; --- 540,546 ---- } res = palloc(atrans, pos + 1); ! ap_cpystrn(res, *line, pos + 1); while (isspace((*line)[pos])) ++pos;