Re: Altogether Broken OtherChild logic

2003-01-30 Thread William A. Rowe, Jr.
At 04:47 PM 1/30/2003, Bill Stoddard wrote: >>No, that is working fine. It is whacking it because I modified the code in >>_check() to do exactly the same thing on Win32 as it does on Unix. >Humm... perhaps you got the cart before the horse... if i recall correctly, I think >I created the _c

Re: Altogether Broken OtherChild logic

2003-01-30 Thread Bill Stoddard
I am guessing that the windows MPM is whacking the piped logger because ocr->proc->hproc is somehow hosed. No, that is working fine. It is whacking it because I modified the code in _check() to do exactly the same thing on Win32 as it does on Unix. Humm... perhaps you got the cart

Re: Altogether Broken OtherChild logic

2003-01-30 Thread William A. Rowe, Jr.
At 12:37 PM 1/30/2003, Bill Stoddard wrote: >This stuff kinda worked on Windows in the past. I need to dig some but I seem to >recall that it was basically impossible to do the exact same thing in Windows as you >do in Unix. The other_child_read in Unix will not (and cannot) work the same way >

RE: [PATCH] README.platforms for HPUX /C++ modules

2003-01-30 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Oh cool.. I did not see the commit :(. I've eliminated the extra details, and here's the new patch that gives details about what libraries *have* to be linked into httpd. I'm not sure if this level of detail should be documented at all or can I assume that the users should know what modules to link

Re: Altogether Broken OtherChild logic

2003-01-30 Thread William A. Rowe, Jr.
At 01:30 PM 1/30/2003, Bill Stoddard wrote: >William A. Rowe, Jr. wrote: > >>I belive I've deciphered the "RotateLogs doesn't work for access logs >>on Windows" Apache 2.0.44 bug. It's actually many bugs in conformance. >> >>Finally, it looks like apr_proc_other_child_read is the function we *real

Re: Altogether Broken OtherChild logic

2003-01-30 Thread Bill Stoddard
William A. Rowe, Jr. wrote: At 02:03 PM 1/30/2003, Jeff Trawick wrote: wrowe wrote: Finally, it looks like apr_proc_other_child_read is the function we *really* wanted to use within the health check. But it seems all of these apr_proc_other_child functions are really misdocumented withi

Re: [PATCH] README.platforms for HPUX /C++ modules

2003-01-30 Thread William A. Rowe, Jr.
At 02:10 PM 1/30/2003, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote: >Hi, >I was thinking of putting the following in the README.platforms.. >Any comments ?. > >+ (1) Recommended : Use the shl_load to do the module loading/unloading. >+ >+ - Create a config.cache file in $APACHE_SR

[PATCH] README.platforms for HPUX /C++ modules

2003-01-30 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Hi, I was thinking of putting the following in the README.platforms.. Any comments ?. Thanks -Madhu $ cvs diff README.platforms Index: README.platforms === RCS file: /home/cvspublic/httpd-2.0/README.platforms,v retrieving rev

Re: Altogether Broken OtherChild logic

2003-01-30 Thread Bill Stoddard
William A. Rowe, Jr. wrote: I belive I've deciphered the "RotateLogs doesn't work for access logs on Windows" Apache 2.0.44 bug. It's actually many bugs in conformance. First, rbb's reorg of the WinNT pipe logic (apr/file_io/win32/pipe.c rev 1.46) causes server/log.c ap_open_piped_log() to cre

RE: mod_vfsindex -- need some review

2003-01-30 Thread Mladen Turk
> -Original Message- > From: Justin Erenkrantz > > At this point, I think we might want to consider something > more general > that has been a pet peeve of ours: pluggable core > filesystems. Look in the > ROADMAP file on 'making apache repository-agnostic.' -- justin > Well, the

CGI brigades

2003-01-30 Thread Dietz, Phil E.
I just read this: * pipes deadlock on all platforms with limited pipe buffers (e.g. both Linux and Win32, as opposed to only Win32 on 1.3). The right solution is either GStein's proposal for a "CGI Brigade", or OtherBill's proposal for "Poll Buckets" for "Polling Filte

RE: [PATCH] HPUX static's and Mixing C with C++ modules

2003-01-30 Thread MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Hi, +1 for the patch. We've been using BIND_VERBOSE in our code, and has not created a problem till now. The shl_load looks like : dso.c:122:shl_t os_handle = shl_load(path, BIND_IMMEDIATE|BIND_VERBOSE, 0L); Here are my notes for building apache when using C++ modules : 1. Use shl_load

suexec error logging

2003-01-30 Thread Joshua Slive
Is there any particular reason why suexec can't log an error to stderr as well as to its own logfile? I guess it could be a way to find out some information about file permissions that would not ordinarily be available. What about writing "suexec failure; see suexec_log for more details" to stderr

Re: Altogether Broken OtherChild logic

2003-01-30 Thread Bill Stoddard
William A. Rowe, Jr. wrote: I belive I've deciphered the "RotateLogs doesn't work for access logs on Windows" Apache 2.0.44 bug. It's actually many bugs in conformance. First, rbb's reorg of the WinNT pipe logic (apr/file_io/win32/pipe.c rev 1.46) causes server/log.c ap_open_piped_log() to cre

Re: cvs commit: httpd-2.0 STATUS

2003-01-30 Thread Cliff Woolley
On Thu, 30 Jan 2003 [EMAIL PROTECTED] wrote: > stoddard2003/01/30 10:07:17 > > Modified:.Tag: APACHE_2_0_BRANCH STATUS > Log: > Done > > -* Port stoddard's patch to mod_file_cache to call apr_mmap_dup > - > -* mod_file_cache segfault bugfix. PR 16313. Thanks Bi

Re: [PATCH] fix warnings in dav/main/util.c in 2.1-dev and 2.0-stable

2003-01-30 Thread Jeff Trawick
Justin Erenkrantz wrote: --On Thursday, January 30, 2003 10:54 AM -0500 Jeff Trawick wrote: > Unfortunately I haven't been tracking warnings in 2.1-dev lately so > I didn't see this until it was merged... > > Untested! Um, I guess. What exactly was the warning? using const ptr to modify

Re: cvs commit: httpd-2.0 configure.in buildconf CHANGES

2003-01-30 Thread Justin Erenkrantz
--On Thursday, January 30, 2003 4:50 PM + [EMAIL PROTECTED] wrote: jerenkrantz2003/01/30 08:50:12 Modified:.configure.in buildconf CHANGES Log: Make buildconf work with out-of-tree apr and apr-util by adding --with-apr and --with-apr-util flags. Submitted by: Tho

Re: [Patch] make buildconf work with out-of-tree apr and apu

2003-01-30 Thread Justin Erenkrantz
--On Thursday, January 30, 2003 11:43 AM + Thom May <[EMAIL PROTECTED]> wrote: Anyhow, -nless patch attached; the output isn't as pretty. -Thom Applied. Thanks! -- justin

[PATCH] HPUX static's and Mixing C with C++ modules

2003-01-30 Thread William A. Rowe, Jr.
Of course I'm really happy to *finally* get some feedback on that issue (since we have few HPUX participants here, my pleas for comments went mostly unanswered.) The small bit below deserves *instant* reaction; since it can be done with very little extra logic. It seems other issues with HPUX shl

Re: [PATCH] fix warnings in dav/main/util.c in 2.1-dev and2.0-stable

2003-01-30 Thread Justin Erenkrantz
--On Thursday, January 30, 2003 10:54 AM -0500 Jeff Trawick <[EMAIL PROTECTED]> wrote: Unfortunately I haven't been tracking warnings in 2.1-dev lately so I didn't see this until it was merged... Untested! Um, I guess. What exactly was the warning? Boy, it'd be easier to review if you used u

[PATCH] fix warnings in dav/main/util.c in 2.1-dev and 2.0-stable

2003-01-30 Thread Jeff Trawick
Unfortunately I haven't been tracking warnings in 2.1-dev lately so I didn't see this until it was merged... Untested! Index: util.c === RCS file: /home/cvs/httpd-2.0/modules/dav/main/util.c,v retrieving revision 1.45 diff -r1.45 ut

Re: [Patch] make buildconf work with out-of-tree apr and apu

2003-01-30 Thread Sascha Schumann
> Grr and curses :-) > /me makes note to find a box without gnu extensions and use that for testing > :-) In configure.in, you can use echo $ac_n "text$ac_c" which will dynamically expand to the "-n" or "\c" form, as necessary. I suppose you could easily copy the necessary

Re: [Patch] make buildconf work with out-of-tree apr and apu

2003-01-30 Thread Thom May
* Jeff Trawick ([EMAIL PROTECTED]) wrote : > Thom May wrote: > > >As far as I'm aware, echo -n is POSIX; please beat me with a cluestick if > >I'm wrong... > >-Thom > > AIX 5.2 > > % /bin/sh > % echo -n "abc" > -n abc > % > > HP-UX 11.0 > > $ /bin/sh > $ echo -n "abc" > -n abc > $ Grr and curs

Re: [Patch] make buildconf work with out-of-tree apr and apu

2003-01-30 Thread Jeff Trawick
Thom May wrote: As far as I'm aware, echo -n is POSIX; please beat me with a cluestick if I'm wrong... -Thom AIX 5.2 % /bin/sh % echo -n "abc" -n abc % HP-UX 11.0 $ /bin/sh $ echo -n "abc" -n abc $

Re: [Patch] make buildconf work with out-of-tree apr and apu

2003-01-30 Thread Thom May
* Thom May ([EMAIL PROTECTED]) wrote : > * Justin Erenkrantz ([EMAIL PROTECTED]) wrote : > > --On Wednesday, January 29, 2003 23:55:29 + Thom May > > <[EMAIL PROTECTED]> wrote: > > > > >+if [ ! -d "$apr_src_dir" -o ! -f "$apr_src_dir/build/apr_common.m4" ]; > > >then echo "" > > >-ec

Re: [Patch] make buildconf work with out-of-tree apr and apu

2003-01-30 Thread Thom May
* Justin Erenkrantz ([EMAIL PROTECTED]) wrote : > --On Wednesday, January 29, 2003 23:55:29 + Thom May > <[EMAIL PROTECTED]> wrote: > > >+if [ ! -d "$apr_src_dir" -o ! -f "$apr_src_dir/build/apr_common.m4" ]; > >then echo "" > >-echo "You don't have a srclib/apr/ subdirectory. Pleas