https://issues.apache.org/bugzilla/show_bug.cgi?id=56858
--- Comment #4 from Manuel Mausz <[email protected]> --- (In reply to Jeff Trawick from comment #3) > >The simpler one was initial patch, but mine is a bit faster :) > That seems odd, since it throws away the knowledge of how long the string is. > > With .*, the string length doesn't have to be calculated. That's because ap_log_rerror has to walk down the array until either the first 0-byte or the supplied length in order to determine the "real" length of the array. See https://github.com/apache/apr/blob/trunk/strings/apr_snprintf.c#L975 However I'm totally fine with your patch as well. Just wanted to point this out. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
