What is reason for fixed system data format?

Ivan Voras ivoras at fer.hr
Mon Jul 9 12:33:20 UTC 2007


Peter Jeremy wrote:
> On 2007-Jul-07 21:52:58 +0400, Alex Keda <admin at lissyara.su> wrote:
>> I looks means for global change system date format (example -> 2007-07-07 
>> 21:48:58). But - it not exist.
>> In code some applications I see fixed string for length date string (example 
>> - ./usr.sbin/syslogd/syslogd.c).
>> =========
>> What reason for use fixed format, and is exists plans for change this?
> 
> I presume you are referring to the time format returned by ctime(3).
> This format is specified by POSIX and thre are no plans to change it.

I think he means: why hasn't ctime() been replaced with strftime("%c"), 
since then the format could be varied by setting LC_* variables.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070709/0e270ed9/signature.pgp


More information about the freebsd-current mailing list