Received: by taz.hyperreal.com (8.6.12/8.6.5) id IAA17821; Thu, 27 Jun 1996 08:50:41 -0700 Received: from irene.pcug.co.uk by taz.hyperreal.com (8.6.12/8.6.5) with SMTP id IAA17815; Thu, 27 Jun 1996 08:50:35 -0700 Message-Id: <199606271550.IAA17815@taz.hyperreal.com> Received: from us1.imdb.com by irene.pcug.co.uk id aa11638; 27 Jun 96 16:50 BST Subject: Re: WWW Form Bug Report: "filehandle for logging must be initialized before use" on OTHER:EPIX To: mdbathel@cip.informatik.uni-erlangen.de Date: Thu, 27 Jun 1996 10:50:05 -0500 (CDT) From: Rob Hartill In-Reply-To: <199606271452.HAA12448@taz.hyperreal.com> from "mdbathel@cip.informatik.uni-erlangen.de" at Jun 27, 96 07:52:22 am Organization: Internet Movie Database http://us.imdb.com/ X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Content-Length: 2716 Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com Thanks for the patch. If there's time (and little danger) we'll see if this can be used for 1.1, otherwise it'll have ot wait for 1.2 regards, rob >Submitter: mdbathel@cip.informatik.uni-erlangen.de >Operating system: OTHER:EPIX, version: 2.2.1AA >Version of Apache Used: 1.1b4 >Extra Modules used: standard configuration without imaps >URL exhibiting problem: > >Symptoms: >-- >core dump - as EPIX doesn't tolerate output to uninitialized filehandles. >Solution: initialize in http_config.c:init_server_config > s->error_log=stderr > >As I and Matthias Hopf already had to play around in the source, >I submit a complete diff of the changes neccessary to run apache on our >EPIX machine (uname -a: cd4680fs cd4680fs 2.2.1AA RISCos mips) > >diff apache_1.1b4-epix/src/Configuration apache/src/Configuration >20c20 >< CC= cc >--- >> # CC= cc >23c23 >< # CC= gcc >--- >> CC= gcc >68c68 >< CFLAGS= -g >--- >> CFLAGS= -O2 >156,159c156 >< AUX_CFLAGS= -Aa -DMIPS >< AUX_LIBS= -lm >< >< ################################################################ >--- >> ################################################################ >196c193 >< #Module imap_module mod_imap.o >--- >> Module imap_module mod_imap.o >diff apache_1.1b4-epix/src/conf.h apache/src/conf.h >318,341d317 >< #elif defined(MIPS) >< /* Note: mod_imaps need a working strtod... */ >< /* It's there in the include files, but... */ >< #define HAS_GMTOFF >< #define NO_USE_SIGACTION >< #define NO_TIMEZONE >< #define NO_SETSID >< #define NEED_WAITPID >< #define NEED_STRERROR >< typedef unsigned short mode_t; >< #define JMP_BUF jmp_buf >< #define siglongjmp longjmp >< #define sigsetjmp(x,y) setjmp (x) /* WARNING! */ >< #include >< #include >< #ifndef S_ISDIR >< #define S_ISDIR(m) (((m)&(S_IFMT)) == (S_IFDIR)) >< #endif >< #ifndef S_ISREG >< #define S_ISREG(m) (((m)&(S_IFMT)) == (S_IFREG)) >< #endif >< #define tolower(c) (((c) >= 'A' && (c) <= 'Z') ? (c) - 'A' + 'a' : (c)) >< #define toupper(c) (((c) >= 'a' && (c) <= 'z') ? (c) - 'a' + 'A' : (c)) >< >376c352 >< #if !defined(NEXT) && !defined(CONVEXOS) && !defined(MIPS) >--- >> #if !defined(NEXT) && !defined(CONVEXOS) >393c369 >< >--- >> #include >408,410d383 >< #endif >< #ifndef MIPS >< #include >diff apache_1.1b4-epix/src/http_config.c apache/src/http_config.c >752,753d751 >< s->error_log = stderr; /* log everything to stderr until log file is open */ >< >diff apache_1.1b4-epix/src/http_log.c apache/src/http_log.c >160a161 >> > >-- > >Backtrace: >-- > >-- -- Rob Hartill (robh@imdb.com) The Internet Movie Database (IMDb) http://www.imdb.com/ ...more movie info than you can poke a stick at.