Commit Graph

12 Commits

Author SHA1 Message Date
kleink 12f15ca014 Merge strftime from tzcode2000g. 2000-12-12 15:35:31 +00:00
taca 413b89b272 - Fix strftime(3) not to ignore tm_zone filed of last parameter,
and "%Z" in format string is converted as proper time zone.
  This was taken from tzcode2000f.  Fix PR lib/10950.
2000-09-07 12:45:03 +00:00
kleink cc34c654dc Add the C99 %F conversion. 2000-01-15 16:59:05 +00:00
erh 20678a0621 PR 5057 - fix %k to print a 0, not just spaces. (%e too). Patch from NAKAJIMA Yoshihiro. 1999-11-05 19:21:12 +00:00
augustss 32482e1058 Compute week number right. Fixes PR 6961, from
Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
1999-02-07 17:33:30 +00:00
sommerfe 322be18c08 Fix pr6517: strftime %s returns unterminated string 1998-12-01 16:07:11 +00:00
christos f4c1479174 delint 1998-11-15 17:10:30 +00:00
kleink 4761eb87c0 Frob internal state keeping to make strftime() reentrant. 1998-09-27 16:41:20 +00:00
jtc 43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos 3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
kleink 891c1283c5 * POSIX: use tzname for the %Z conversion, not tm->tm_zone.
* KNF, RCSid police.
1997-04-29 20:00:14 +00:00
mrg cbf5ef7c50 move str[fp]time into libc/time. 1997-04-23 01:17:59 +00:00