Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 7286 invoked by uid 6000); 4 Mar 1998 08:11:10 -0000 Received: (qmail 7280 invoked from network); 4 Mar 1998 08:11:09 -0000 Received: from twinlark.arctic.org (204.62.130.91) by taz.hyperreal.org with SMTP; 4 Mar 1998 08:11:09 -0000 Received: (qmail 15840 invoked by uid 500); 4 Mar 1998 08:11:12 -0000 Date: Wed, 4 Mar 1998 00:11:12 -0800 (PST) From: Dean Gaudet To: new-httpd@apache.org Subject: Re: cvs commit: apache-1.3/src/os/unix os.h In-Reply-To: <19980304022827.27322.qmail@hyperreal.org> Message-ID: X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org On 4 Mar 1998 coar@hyperreal.org wrote: > #if defined(__DATE__) && defined(__TIME__) > -const char SERVER_BUILT[] = __DATE__ " " __TIME__; > +static const char server_built[] = __DATE__ " " __TIME__; > #else > -const char SERVER_BUILT[] = "unknown"; > +static const char server_built[] = "unknown"; > #endif > +static const char server_version[] = SERVER_VERSION; I don't understand why we can't export variables, why do we need to call a function to find the variable? I thought the problem was just that SERVER_VERSION was a #define and so we needed it to be stored in a const char [] somewhere. Dean