Commit Graph

50 Commits

Author SHA1 Message Date
lukem 2a55b0f192 rcsid police 1997-10-09 10:07:40 +00:00
jtc 0f031182c5 sync with tzcode1997g 1997-09-05 02:11:55 +00:00
jtc 2080f3c806 Music has been expanded and renamed Arts.htm 1997-09-05 02:11:27 +00:00
jtc 5bd15d6468 import tzcode1997g 1997-09-05 02:07:13 +00:00
jtc 990a11b9c6 Fix files using old TNF copyright notice 1997-07-30 23:53:32 +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
kleink 0d71e88959 Add standards conformance statement. 1997-07-14 23:35:02 +00:00
christos 3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
cjs 420dff88f0 Remove bogus `#ifdef unix'. 1997-06-21 21:26:23 +00:00
jtc 359f61a781 Sync with tzcode1997e 1997-06-18 01:12:39 +00:00
jtc ef16fd639e import tzcode1997e 1997-06-18 00:41:05 +00:00
kleink 0e1fa19edf Nuke a spurious (but under !__STDC__ fatal) space from last commit. 1997-06-03 10:19:45 +00:00
kleink c9e453859c Replace some hand-crafted concatenation with the __CONCAT() macro. 1997-06-03 10:04:20 +00:00
kleink 2f11ceb63c Add a reference to the strptime(3) manual page. 1997-05-25 19:34:44 +00:00
kleink d5ab17a222 Add a strptime(3) manual page. 1997-05-25 19:29:36 +00:00
kleink 2eaf62bf51 Rewritten from scratch. Implement missing conversions and provide support
for E and O modifiers, though our locale does not support `alternate'
conversions and formats - we just stick to the unmodified rules in that case.
1997-05-25 19:26:43 +00:00
kleink 14311d9dca KNF. 1997-05-06 13:06:48 +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
mrg 2d2ae90504 note possible security concerns. 1997-04-22 12:33:17 +00:00
is 2b9aa0e3fe The protoypes for ctime() and tzset() are in <time.h>. Move #include <time.h>
to the start of the SYNOPSIS so that people won't need to search them.
1997-04-18 17:32:04 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +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 95c287709b set HAVE_STRERROR 1996-09-13 17:46:49 +00:00
jtc 9b9f8829d1 sync with tzcode96l 1996-09-10 22:04:29 +00:00
jtc b27646e2c2 import tzcode96l 1996-09-10 21:59:47 +00:00
jtc bd587f836f Changed manpages to reflect fact that localtime file is in /etc 1996-01-30 19:54:34 +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 c743e76aff import tzcode96a 1996-01-08 22:45:14 +00:00
jtc 31ed1143ff merge in changes from 1.1 release branch 1995-11-28 06:41:14 +00:00
jtc 0ed73b3dc5 /usr/local/etc/zoneinfo -> /usr/share/zoneinfo; PR #1398 1995-08-22 19:28:15 +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 990d7c70e0 Added some #defines for NetBSD's defaults. 1995-03-14 18:49:49 +00:00
jtc be80b6891a Removed "new" from references to newctime(3).
Removed -lz from SYNOPSIS.
1995-03-10 18:21:24 +00:00
jtc c12abbe244 Added NetBSD Id. 1995-03-10 18:12:38 +00:00
jtc 0cd8c3623b Added NetBSD Id.
Removed "new" from newctime(3) references.
1995-03-10 18:09:54 +00:00
jtc 3a34b570e9 Strictly speaking, these files probably don't belong in the libc sources.
On the other hand, it makes it easier to track the master tzcode sources
if we try to keep the distribution together as much as possible.

The zic and zdump commands will access the files the need with make's
.PATH facility.
1995-03-10 07:08:14 +00:00
jtc 27c1463773 Added some manpages and manpage links (moved from libc/gen). 1995-03-10 06:05:38 +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 3d319539ac Change long to time_t as appropriate.
Add const qualifier to function argument descriptions as appropriate.
1995-03-10 00:09:36 +00:00
jtc 633548e60b Get rid of NEW (as in NEWCTIME and NEWTZSET). 1995-03-10 00:05:54 +00:00
jtc 981bebbf27 Add NetBSD ID's 1995-03-09 23:50:15 +00:00
jtc 93ae1c3e13 tzset.3, renamed from newtzset.3, from TZCODE95B. 1995-03-09 23:48:00 +00:00
jtc 214492959c ctime.3 from TZCODE95B, renamed from newctime.3. 1995-03-09 23:46:58 +00:00
jtc ac90835477 Add NetBSD Id's. 1995-03-09 23:41:11 +00:00
jtc 65c381f59e Fix typo. 1995-03-09 23:35:13 +00:00
jtc ea8e219f0c Makefile for new time stuff 1995-03-09 23:26:43 +00:00
jtc 347a7d733b Changed to use NetBSD's defaults 1995-03-09 23:25:36 +00:00
jtc 1fac1c1776 New time and date code from ADO 1995-03-09 23:21:48 +00:00