Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 93430 invoked by uid 500); 20 Jun 2000 20:41:39 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 93418 invoked from network); 20 Jun 2000 20:41:38 -0000 Message-ID: <052801bfdaf8$60a90f20$c1e01b09@raleigh.ibm.com> From: "Bill Stoddard" To: References: <000501bfdaf3$9bc17c00$345985d0@corecomm.net> Subject: Re: cvs commit: apache-2.0/src/main http_log.c Date: Tue, 20 Jun 2000 16:44:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I looked at it and ran away. The write() call automagically adds a CR to files opened for text i/o. This is evil black magic as far as I am concerned. WriteFile (used in ap_write) does not add the CR. The obvious (and wrong) way to 'fix' this is to have ap_write scan lines for files opened for i/o to non-binary files and add a CR or to add the CR in Apache before the call to ap_write. Both of these 'solutions' are off the top of the suckage quotient scale. There has to be a better way... Perhaps 'Just say no to notepad' :-) Bill ----- Original Message ----- From: William A. Rowe, Jr. To: Sent: Tuesday, June 20, 2000 4:10 PM Subject: RE: cvs commit: apache-2.0/src/main http_log.c > > From: trawick@locus.apache.org [mailto:trawick@locus.apache.org] > > Sent: Tuesday, June 20, 2000 2:37 PM > > To: apache-2.0-cvs@apache.org > > Subject: cvs commit: apache-2.0/src/main http_log.c > > > > trawick 00/06/20 12:36:54 > > > > Modified: src CHANGES > > src/lib/apr/file_io/os2 pipe.c > > src/lib/apr/file_io/unix filedup.c fileio.h > > open.c pipe.c > > src/lib/apr/include apr_file_io.h > > src/lib/apr/threadproc/beos proc.c > > src/lib/apr/threadproc/os2 proc.c > > src/lib/apr/threadproc/unix proc.c > > src/lib/apr/threadproc/win32 proc.c > > src/main http_log.c > > Log: > [...] > > > > Win32: > > > > The pipe was always created blocking before; no change > > > > previously, ap_setprocattr_io() ignored the blocking flag; now it > > respects it like other platforms and calls ap_set_pipe_timeout(p,0) > > on appropriate pipe handles (Bill Stoddard was just working in > > ap_set_pipe_timeout(), so I presume this is golden) > > Before I throw something more on my plate, has anyone even looked at > the missing cr bug in Win32 logs, i.e. all logged output is in > rather than format?