httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r485828 - /httpd/httpd/trunk/support/rotatelogs.c
Date Mon, 11 Dec 2006 19:08:41 GMT
Author: trawick
Date: Mon Dec 11 11:08:40 2006
New Revision: 485828

URL: http://svn.apache.org/viewvc?view=rev&rev=485828
Log:
increase size of error string buffer passed to apr_strerror();
120 is the size most frequently used in Apache; APR provides no
hints

Modified:
    httpd/httpd/trunk/support/rotatelogs.c

Modified: httpd/httpd/trunk/support/rotatelogs.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/rotatelogs.c?view=diff&rev=485828&r1=485827&r2=485828
==============================================================================
--- httpd/httpd/trunk/support/rotatelogs.c (original)
+++ httpd/httpd/trunk/support/rotatelogs.c Mon Dec 11 11:08:40 2006
@@ -212,7 +212,7 @@
             rv = apr_file_open(&nLogFD, buf2, APR_WRITE | APR_CREATE | APR_APPEND,
                                APR_OS_DEFAULT, pool);
             if (rv != APR_SUCCESS) {
-                char error[26];
+                char error[120];
 
                 apr_strerror(rv, error, sizeof error);
 



Mime
View raw message