]> granicus.if.org Git - apache/commitdiff
Add a comment to prevent a future upgrade of APR 2.0 or similar
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Aug 2007 20:48:30 +0000 (20:48 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 23 Aug 2007 20:48:30 +0000 (20:48 +0000)
from inflicting new fatal errors on the startup error reporting.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569137 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index 909a2403123a58d521bf6abd2e7c4fe50baecc68..cd338e08c68661c0c3e4b6f5296ce1d505aaa918 100644 (file)
@@ -293,6 +293,11 @@ static process_rec *init_process(int *argc, const char * const * *argv)
         /* For all intents and purposes, this is impossibly unlikely,
          * but APR doesn't exist yet, we can't use it for reporting
          * these earliest two failures;
+         *
+         * XXX: Note the apr_ctime() and apr_time_now() calls.  These
+         * work, today, against an uninitialized APR, but in the future
+         * (if they relied on global pools or mutexes, for example) then
+         * the datestamp logic will need to be replaced.
          */
         char ctimebuff[APR_CTIME_LEN + 1];
         apr_ctime(ctimebuff, apr_time_now());