Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
* libc/time/asctime_r.c (asctime_r): Change output format. Day of month is now padded with space, not zero. This now conforms to ANSI standard.
This commit is contained in:
parent
adfefc0b06
commit
f35ceefaf0
|
@ -1,3 +1,9 @@
|
|||
Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
|
||||
|
||||
* libc/time/asctime_r.c (asctime_r): Change output format. Day of
|
||||
month is now padded with space, not zero. This now conforms to
|
||||
ANSI standard.
|
||||
|
||||
Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* libc/include/sys/errno.h: Add define for ENOSHARE ("No such
|
||||
|
|
|
@ -18,7 +18,7 @@ _DEFUN (asctime_r, (tim_p, result),
|
|||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
|
||||
};
|
||||
|
||||
sprintf (result, "%.3s %.3s %.2d %.2d:%.2d:%.2d %d\n",
|
||||
sprintf (result, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n",
|
||||
day_name[tim_p->tm_wday],
|
||||
mon_name[tim_p->tm_mon],
|
||||
tim_p->tm_mday, tim_p->tm_hour, tim_p->tm_min,
|
||||
|
|
Loading…
Reference in New Issue