httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <hart...@hyperreal.com>
Subject Re: Apache HTTP Server: Compatibility Notes with NCSA's Server (fwd)
Date Tue, 05 Dec 1995 18:44:00 GMT
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 <robert@steffi.accessone.com>
> 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 <stdio.h>
> #import <time.h>
> 
> 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)
> 
> 
> 


Mime
View raw message