You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/09/12 01:11:17 UTC

DO NOT REPLY [Bug 36601] New: - Strange formated output

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36601>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36601

           Summary: Strange formated output
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rootag@terra.es


Well I do not known if this is a no "pthread save" bug, but I can not find users
list of apache.

If in a module I put something like this:

{
time_t tim;
tim = time(NULL);
ap_log_rerror (APLOG_MARK, APLOG_CRIT, 0, r, "CTIME=%s",ctime(&tim));
}

or similar functions that return (char *), I can see something like this:

[Mon Sep 12 00:58:04 2005] [crit] [client ::1] CTIME=Mon Sep 12 00:58:04 2005\n

->"\n" Should stay here, I think.

I have similar problem with ap_printf(,(char *),...);
All the %s in format are the returned parameter of the first function of arguments.
The same arguments in printf() works ok.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org