You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2006/12/11 20:08:41 UTC

svn commit: r485828 - /httpd/httpd/trunk/support/rotatelogs.c

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);