asctime.c

Clive D.W. Feather clive at demon.net
Wed Jul 28 04:54:42 UTC 2004


Robert Elz said:
> If the standard actually says what you say

It does.

> This one isn't just of academic interest, there's lots of code that
> does stuff like
> 
> 	printf("The date is: %.24s today\n", asctime(tm));
> 
> and expects that there cannot be a newline between the date and the
> word "today".

Then that code is broken. End of story.

-- 
Clive D.W. Feather  | Work:  <clive at demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive at davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
Thus plc            |                            |



More information about the tz mailing list