DO NOT REPLY [Bug 8659] - httpd fails to start if a (module's) log file isnt touch-ed

2003-02-28 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659

httpd fails to start if a (module's) log file isnt touch-ed

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 8659] - httpd fails to start if a (module's) log file isnt touch-ed

2002-04-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659

httpd fails to start if a (module's) log file isnt touch-ed





--- Additional Comments From [EMAIL PROTECTED]  2002-04-30 14:21 ---
Your link http://www.tgpsoftware.com/mod_gzip2.c is invalid.

Please paste the offensive function (the non-working version, of course)
so we can comment.


DO NOT REPLY [Bug 8659] - httpd fails to start if a (module's) log file isnt touch-ed

2002-04-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659

httpd fails to start if a (module's) log file isnt touch-ed





--- Additional Comments From [EMAIL PROTECTED]  2002-04-30 14:56 ---
We are in middle of a DNS update. URLs should work now. Sorry about that.
Here is the code:

--- snip ---

void mod_gzip_printf( const char *fmt, ... )
{

 int   l;
 char *p1;
 FILE *log;

 va_list ap;

 char logname[256];
 char log_line[4096];

 #ifdef WIN32
 long pid = GetCurrentProcessId();
 #else
 long pid = (long) getpid();
 #endif
 #ifdef WIN32
 sprintf( logname, c:\\temp\\t%ld.log,(long)pid);
 #else
 sprintf( logname, /tmp/t%ld.log,(long)pid);
 #endif

 return;  // line 374

// it fails if it returns before opening the file below


 log = fopen( logname,a );

 if ( !log ) 
 {
   return; 
 }
 else
 {
   fclose(log);
   return;
 }


.
.
.
.
--- snip ---


DO NOT REPLY [Bug 8659] - httpd fails to start if a (module's) log file isnt touch-ed

2002-04-30 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8659

httpd fails to start if a (module's) log file isnt touch-ed





--- Additional Comments From [EMAIL PROTECTED]  2002-04-30 15:35 ---

  I see nothing in that snippet that indicates an API issue with APR or httpd.
  Looks like a logic error elsewhere.  This code isn't APR'ized, so that can't
  be the issue, and you aren't even dealing with an Apache log.

  I concur with Joshua here, this report is irrelevant.