From 67eafbb00a18a1610e055e6228102b15ca0e8f4f Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Thu, 23 Aug 2007 20:48:30 +0000 Subject: [PATCH] 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 --- server/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/main.c b/server/main.c index 909a240312..cd338e08c6 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()); -- 2.50.1