itojun
9134efabd0
use strlcpy where it is more appropriate.
2002-11-17 01:51:24 +00:00
kleink
ae475f81fe
Fix typo UCT -> UTC; from Christian Biere in PR lib/19007.
2002-11-10 19:51:47 +00:00
itojun
76423b2378
license clarification, from openbsd
2002-10-02 06:56:24 +00:00
wiz
52d8d77b60
New sentence, new line. From Robert Elz.
2002-10-01 18:15:59 +00:00
yamt
83b485596b
note that month and weekday names are case-insensitive.
...
from OpenBSD.
2002-08-18 06:43:32 +00:00
yamt
7c3f1b1f60
note that the contents of the array are undefined in the error case.
2002-08-18 06:31:09 +00:00
yamt
e72273def3
- Mention leap seconds as the reason for (00-61)
...
- include blurb about ISO 8601 dates straight from strftime.c
from OpenBSD.
2002-08-18 06:27:49 +00:00
wiz
d56bb7c2ec
__STDC__ is always defined on NetBSD.
2002-05-26 11:48:00 +00:00
bjh21
bde73607cc
Pull in config.h when we're building zic as a host tool.
...
This makes zic compilable with Sun WorkShop C 5.0.
2002-04-26 17:31:54 +00:00
groo
5fe77d3e2d
botched strncpy -> strlcpy
...
from xs@kittenz.org
2002-04-16 19:20:51 +00:00
ross
b47221844a
fix isolated collateral damage from <>& churn
2002-02-10 02:46:27 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
ross
814f296b77
Generate <>& symbolically.
2002-02-07 07:00:09 +00:00
kleink
d4a9806f67
Delint me harder.
2002-01-29 12:58:32 +00:00
kleink
4521dc7de4
Merge tzcode2002b.
2002-01-29 12:40:33 +00:00
kleink
91b3efb135
Import tzcode2002b.
2002-01-29 12:30:41 +00:00
wiz
b3936fdebf
Fix .Bd argument. Pointed out by mrg.
2002-01-02 03:25:08 +00:00
kleink
327f6e3bc2
Document %z.
2001-12-13 22:11:27 +00:00
kleink
ea8bbaf8e1
Sort conversion specifiers.
2001-12-10 10:01:38 +00:00
lukem
50f5afd52e
fix WARNS=2 (-Wshadow) warnings
2001-11-04 13:57:29 +00:00
wiz
a7f335fd25
mdoc'ify
2001-09-16 18:02:44 +00:00
wiz
4405028509
mdoc'ify
2001-09-16 16:53:45 +00:00
wiz
8904bab14d
Sort SEE ALSO.
2001-09-16 01:35:53 +00:00
atatat
90de954410
If the TZ environment variable was set to the empty string, a call to
...
ctime() would get a bus error (or a segmentation fault). Setting these
variables eliminates that problem.
Fixes pr lib/12750.
2001-04-27 14:21:15 +00:00
kleink
7be2be4b36
No need for <sys/types.h>.
2001-04-07 16:14:44 +00:00
kleink
d8fe668b8f
Add a LIBRARY section.
2001-04-07 16:13:32 +00:00
wiz
2c7d48475b
mdoc'ify. With a tip of the hat to kleink.
2001-04-02 21:26:21 +00:00
wiz
b37c366b3f
Improve some markup.
2001-04-02 20:49:57 +00:00
wiz
3a3aafcf17
Fix format typo, and whitespace.
2001-04-02 20:48:38 +00:00
kleink
cd11a7a9fa
Add a daylight(3) link as well. XXX Can't link to timezone(3) yet.
2001-03-31 19:00:56 +00:00
kleink
9b04b6e1a5
Oops, missed type change in previous.
2001-03-31 18:45:38 +00:00
kleink
a495a577a0
Finally deprecate the old timezone() interface in favor of an XSH5
...
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.
2001-03-31 18:29:20 +00:00
kleink
b1cc53ab31
While I'm here, add a LIBRARY section.
...
XXX Someone should lift this to our mdoc.
2001-03-29 20:56:30 +00:00
kleink
49cc52fbf7
Declaration syntax nit.
2001-03-29 20:54:06 +00:00
kleink
8ca649a389
Sprinkle some restrict.
2001-03-29 19:06:39 +00:00
jdolecek
90a4ab0deb
add forgotten argument name to actime_r() prototype
2001-01-25 20:55:51 +00:00
cgd
9ac9838b47
#undef, not #undefine.
2001-01-16 02:38:17 +00:00
christos
52b46a0f13
fix u_char -> char and char -> u_char casts.
2000-12-20 20:56:34 +00:00
cgd
b2b63ed4f4
Newer GCCs give warnings when the result of preprocessor token pasting
...
is not itself a valid (single) preprocessor token. In other words, don't
use __CONCAT() to add a structure member name to a pointer dereference.
2000-12-19 22:20:48 +00:00
kleink
64b3c7fc9d
Reflect current situation: we're using the tzcode-maintained strftime now.
2000-12-12 15:36:49 +00:00
kleink
12f15ca014
Merge strftime from tzcode2000g.
2000-12-12 15:35:31 +00:00
kleink
b883dd18d1
Merge tzcode2000g.
2000-12-12 15:25:41 +00:00
kleink
8e2eabaa3d
Import tzcode2000g.
2000-12-12 15:21:09 +00:00
christos
94a9754eeb
#ifdef out duplicate declaration for unlink.
2000-12-10 03:56:31 +00:00
is
f518246fc1
Format string cleanup, by Bill Sommerfeld.
2000-10-10 18:09:25 +00:00
msaitoh
f9b799b651
check LIBC_SCCS
2000-09-13 22:32:25 +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
hubertf
4b1e8fc34a
make usage fit into 80 columns
2000-08-02 15:17:20 +00:00
kleink
87699890a9
* Use standard interval notation for struct tm members.
...
* Document tm_isdst as DST flag, not summer time.
2000-07-10 12:39:39 +00:00
itohy
7daefc5a5a
Passing "char" values to ctype(3) functions is problematic.
...
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.
The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems. On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems. However, we leave the isascii()
untouched for now, so as not to change the current behavior.
2000-07-07 08:03:36 +00:00