httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject [PATCH] (PR#163) log_* errors in call_exec aren't logged
Date Sat, 08 Feb 1997 10:21:38 GMT
I like the idea.  Note that we aren't actually playing with the real 
r->server->error_log, since we have already fork()ed...

Index: util_script.c
===================================================================
RCS file: /export/home/cvs/apache/src/util_script.c,v
retrieving revision 1.42
diff -c -r1.42 util_script.c
*** util_script.c	1997/02/07 01:27:07	1.42
--- util_script.c	1997/02/08 10:17:28
***************
*** 441,446 ****
--- 441,450 ----
      conf = (core_dir_config *)pcalloc(r->pool, sizeof(core_dir_config));
      
      conf = (core_dir_config *)get_module_config(r->per_dir_config, &core_module);
+     /* the fd on r->server->error_log is closed; is only available on 
+      * stderr, so lets set it so the log_* functions work.
+      */
+     r->server->error_log = stderr;
  
  #ifdef RLIMIT_CPU
      if (conf->limit_cpu != NULL)


Mime
View raw message