From: William A. Rowe Jr Date: Thu, 23 Aug 2007 20:48:30 +0000 (+0000) Subject: Add a comment to prevent a future upgrade of APR 2.0 or similar X-Git-Tag: 2.3.0~1556 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67eafbb00a18a1610e055e6228102b15ca0e8f4f;p=thirdparty%2Fapache%2Fhttpd.git Add a comment to prevent a future upgrade of APR 2.0 or similar 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 --- diff --git a/server/main.c b/server/main.c index 909a2403123..cd338e08c68 100644 --- a/server/main.c +++ b/server/main.c @@ -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());