| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
centuries are much more serious than those mentioned and this is not the
place to discuss the limitations of time_t.
|
|
|
|
|
|
|
|
| |
Discuss in the BUGS section of the manpage, problems involved with
the use of %C, %e, %l, %p, %U and %W.
PR: 13901
Reported by: scott@chronis.pobox.com
|
|
|
|
| |
"12:00" and because strftime(3) does the same.
|
|
|
|
|
|
| |
Add %EF (long months name / day order)
Check that O and E not intermixed
Add missing POSIX extension to example
|
| |
|
| |
|
|
|
|
|
|
| |
Use locale for %c
Add %+
Add %Ex and %OB
|
|
|
|
| |
Separate alternative for O and E cases
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which is zero-based.
Correct the range checking for the value taken for %S.
Add %w for the day of the week (0-6).
Accept (but do nothing with) %U and %W. The comment for this change was
taken from NetBSD.
These changes were made after several failed attempts to contact the
author of our strptime.c .
PR: 10131
Submitted by: tadf@kt.rim.or.jp (Tadayoshi Funaba)
|
| |
|
|
|
|
|
|
|
|
|
| |
representation of the full month name. In the Russian locale, this alternative
will be "nominative case", useful when the date designate month as a whole.
E.g. month heading in a calendar. I hope it can be useful for some other
locales too.
Discussed with: wollman, ache
|
|
|
|
|
|
|
|
| |
mdoc(7)'fy.
PR: docs/13406
Submitted by: Garret Woolman <woolman@khavrinen.lcs.mit.edu>
Reviewed by: mpp
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
| |
|
| |
|
|
|
|
| |
PR: 11704
|
|
|
|
| |
fixed a typo on the man page.
|
|
|
|
|
|
|
|
| |
70-00 are intepreted in the 20th century; 01-69 in the
21st century. (Yes, 2000 is the last year of the 20th
century, not the first year of the 21st.)
Submitted by: Sergey Babkin <babkin@bellatlantic.net>
|
|
|
|
|
|
| |
Fix localtime.c to deal with new magic number field.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
|
| |
|
|
|
|
|
| |
s/bytes/characters/g to be consistent with Standard C terminology.
Update date and add RCS Id.
|
|
|
|
|
| |
a potentally inflammatory comment from BUGS, and add a more useful comment
about the lack of reentrancy in the timezone-setting interface.
|
|
|
|
| |
ctime_r, gmtime_r, and localtime_r.
|
|
|
|
|
|
|
|
|
|
|
| |
In some cases replace if (a == null) a = malloc(x); else a =
realloc(a, x); with simple reallocf(a, x). Per ANSI-C, this is
guaranteed to be the same thing.
I've been running these on my system here w/o ill effects for some
time. However, the CTM-express is at part 6 of 34 for the CAM
changes, so I've not been able to do a build world with the CAM in the
tree with these changes. Shouldn't impact anything, but...
|
|
|
|
| |
const char* was wrong and nonstandard.
|
|
|
|
|
|
| |
Obtained from: partial merge of ADO version tzcode96h (was fully merged
in 1.10 but backed out in 1.11; the FreeBSD code for %s
was earlier, prettier but buggier).
|
| |
|
|
|
|
| |
because that is wrong on alpha.
|
|
|
|
| |
prototype mismatch
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
prototypes in time.h do not match POSIX.
PR: 6345
Reviewed by: phk
Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
|
| |
|
|
|
|
|
|
| |
fix a slight confusion about which draft of threads we are supporting.
this allows something as big and ugly as samba to be compiled with libc_r
and still work! our user-level pthreads seems amazingly robust!
|
| |
|
| |
|
|
|
|
|
| |
were a workaround for limitations in bsd.man.mk that were fixed about
2 years ago.
|
|
|
|
|
| |
Added the conversion specifiers %g and %G, that are replaced
by the year which contains the greater part of the week in question.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
modify the original `no modifications' copyright message, and i've
included his mail into the source file.
The common localization functions between strptime(3) and strftime(3)
have been broken out into timelocal.[ch].
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
|
|
|
| |
Submitted by: Powerdog Industries <kevin.ruddy@powerdog.com>
|
|
|
|
|
|
| |
Closes PR docs/3612.
Submitted by: Josh Gilliam <soil@quick.net>
|
|
|
|
|
|
|
|
|
|
| |
so that all these makefiles can be used to build libc_r too.
Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.
Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
|
|
|
|
|
| |
Obtained from: fgets.3
Guided by: ISO C standard
|
|
|
|
|
|
|
| |
the original text plus a statement saying that if strftime fails,
the results are undefined.
Requested a long time ago by: bde
|