You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/06/27 17:50:05 UTC

Re: WWW Form Bug Report: "filehandle for logging must be initialized before use" on OTHER:EPIX

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 <sys/time.h>
>< #include <ctype.h>
>< #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 <ctype.h>
>408,410d383
>< #endif
>< #ifndef MIPS
>< #include <ctype.h>
>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.