Received: by taz.hyperreal.com (8.6.12/8.6.5) id KAA02100; Tue, 5 Dec 1995 10:44:10 -0800 Received: by taz.hyperreal.com (8.6.12/8.6.5) id KAA02086; Tue, 5 Dec 1995 10:44:02 -0800 From: Rob Hartill Message-Id: <199512051844.KAA02086@taz.hyperreal.com> Subject: Re: Apache HTTP Server: Compatibility Notes with NCSA's Server (fwd) To: new-httpd@hyperreal.com Date: Tue, 5 Dec 1995 10:44:00 -0800 (PST) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1515 Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Forwarded message: > From robert@steffi.accessone.com Mon Dec 4 16:52:25 1995 > Message-Id: <199512042355.PAA01197@steffi.accessone.com> > Content-Type: text/plain > Mime-Version: 1.0 (NeXT Mail 3.3 v118.2) > X-Nextstep-Mailer: Mail 3.3 (Enhance 1.0) > From: Robert Nicholson > Date: Mon, 4 Dec 95 15:55:03 -0800 > To: apache-bugs@apache.org > Subject: Re: Apache HTTP Server: Compatibility Notes with NCSA's Server > > Is %T strftime compliant? > > I know that under NeXTSTEP 3.3 %T in strftime isn't supported. > > robert:/tmp>cat try6.c > 15:54 > #import > #import > > void main() > { > time_t now; > struct tm *bla; > char strbuff[1024]; > > now = time(0); > bla = localtime(&now); > strftime(strbuff,(size_t)1024,"%T",bla); > printf("strbuff=%s\n",strbuff); > strftime(strbuff,(size_t)1024,"%H:%M:%S",bla); > printf("strbuff=%s\n",strbuff); > exit(0); > } > > robert:/tmp>!cc > 15:54 > cc -o try6 try6.c > > robert:/tmp> > 15:54 > robert:/tmp>./try6 > 15:54 > strbuff=? > strbuff=15:54:35 > > -- > "Mary ate a little lamb and punk rock isn't dead" > (PGP key: send email with Subject: request pgp key) > > >