https://bz.apache.org/bugzilla/show_bug.cgi?id=62102

--- Comment #2 from Luca Toscano <toscano.l...@gmail.com> ---
Hi Ben,

the following patch works for me:

Index: server/core.c
===================================================================
--- server/core.c       (revision 1828159)
+++ server/core.c       (working copy)
@@ -4867,7 +4867,7 @@
 static int check_errorlog_dir(apr_pool_t *p, server_rec *s)
 {
     if (!s->error_fname || s->error_fname[0] == '|'
-        || strcmp(s->error_fname, "syslog") == 0) {
+        || strncmp(s->error_fname, "syslog", 6) == 0) {
         return APR_SUCCESS;
     }
     else {

So s->error_fname should contain the full error log name, in this case
"syslog::httpd/someusername", but as far as I can see strcmp doesn't return 0
when the "/" is used. Need to test a bit more to figure out where is the issue,
really interesting :)

Luca

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to