Commit Graph

23 Commits

Author SHA1 Message Date
mycroft 605490369c Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
kleink ae7e338dbb Merge tzcode1999h. 1999-11-10 20:32:30 +00:00
christos f4c1479174 delint 1998-11-15 17:10:30 +00:00
kleink d898f65fdd Need an internal name for tzname. 1998-10-16 12:56:44 +00:00
kleink 38876f6260 Protect local time state and GMT data initialization with a readers/writer lock
and a mutex, respectively.
1998-09-13 16:26:14 +00:00
kleink 91e1adbe6e Merge tzcode1998f. 1998-09-10 15:58:38 +00:00
mycroft 4794fc63fe Slight adjustment needed for previous. 1998-07-28 20:28:04 +00:00
mycroft 131e747015 Make these compile without __AUDIT__. 1998-07-27 09:47:44 +00:00
mycroft f4a2a13036 const poisoning. 1998-07-26 13:00:41 +00:00
jtc 1c631d03ad sync with tzcode1998a 1998-01-22 07:06:56 +00:00
jtc 0f031182c5 sync with tzcode1997g 1997-09-05 02:11:55 +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
jtc 359f61a781 Sync with tzcode1997e 1997-06-18 01:12:39 +00:00
mrg 2d2ae90504 note possible security concerns. 1997-04-22 12:33:17 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
jtc 9b9f8829d1 sync with tzcode96l 1996-09-10 22:04:29 +00:00
jtc 0f94396cf3 sync with tzcode96c 1996-01-20 02:29:47 +00:00
jtc c875c647a0 sync with tzcode96a 1996-01-08 22:50:54 +00:00
jtc 3924aee202 Added comment explaining why we are using a different algorithm than
what was adopted in tzcode95c to solve the problem of the first char
detzcode() extracts requiring sign extention (this is needed for
machines with 64 bit longs).

Our implementation is a bit more efficent, but requires a new macro,
SIGN_EXTEND_CHAR(), and a conditional to set it appropriately).

One minor enhancement for machines without ANSI compilers that have 32
bit longs would be to define SIGN_EXTEND_CHAR() to be the identity
macro.
1995-03-16 19:14:16 +00:00
jtc 09bcdc8226 A slightly modified version of Chris' patch so that detzcode will sign
extend properly on machines with 64 bit longs.
This patch has been submitted to the tz mailing list.
1995-03-10 05:57:35 +00:00
jtc ac90835477 Add NetBSD Id's. 1995-03-09 23:41:11 +00:00
jtc 1fac1c1776 New time and date code from ADO 1995-03-09 23:21:48 +00:00