summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo in the commentache2001-03-181-1/+1
|
* Relax local FreeBSD restrictions on 3 chars abbrev. name length and %c formatache2001-03-185-37/+37
| | | | | | | | | | | | since they not allows POSIXly legal locale data. Currently, if relaxed form POSIXly legal locale data will be used right now, some programs will be broken, but it means that either locale data or programs must be fixed, not the library. Introduce non-standard md_order (month/day order) locale field to be used later via nl_langinfo(). Currently %EF and %Ef emulated using this field, but they planned for remove in future in favour of nl_langinfo() test field. Implement %F per POSIX
* Make 'A' and 'a', 'B' and 'b' the same, per POSIXache2001-03-181-26/+16
|
* Implement ampm_fmt (%r) per POSIXache2001-03-024-9/+22
|
* /^\.St/ s/-iso9945-1/-p1003.1-96/ru2001-02-261-2/+2
|
* .St -ansiC -> .St -isoCru2001-02-261-1/+1
|
* Back out snprintf -> sprintf change until I have time to look at it.kris2001-02-181-1/+1
|
* Don't depend on lcl_mutex being a recursive mutex.tegge2001-02-151-5/+5
| | | | Reviewed by: deischen
* catch up to __part_load_locale() interface changephantom2001-02-131-1/+1
|
* Rewrite __time_load_locale() using ldpart.c::__part_load_locale()phantom2001-02-122-153/+15
| | | | Reviewed by: ache
* Hardcode c_fmt in a different way since used in nl_langinfo nowache2001-02-084-7/+8
|
* Catch up to latest chanage in timelocal structures exporting.phantom2001-02-082-34/+36
|
* Export internal data structures in same manner as numeric/monetary/messagesphantom2001-02-082-8/+14
| | | | | structures exported. Protect timelocal.h from multiple inclusions.
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-246-123/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.ru2001-01-121-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-293-13/+12
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-141-1/+1
|
* sprintf -> snprintfkris2000-11-261-1/+1
|
* Create the links for the reentrant time functions.nik2000-11-121-1/+3
| | | | | PR: docs/22644 Submitted by: andrew@ugh.net.au
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-102-15/+16
|
* For %c replace reference to asctime(3) with ctime(3) from which %c geneticallyache2000-10-261-1/+1
| | | | originates
* Treat c_fmt field as compatibility placeholderache2000-10-262-5/+3
|
* Force "%c" to be ctime-compatibleache2000-10-261-1/+2
| | | | Submitted by: ru
* Force %c to be "%a %Ef %T %Y" to eliminate problems with bad c_fmtache2000-10-262-5/+6
| | | | Submitted by: ru
* Describe %c betterache2000-10-241-3/+7
| | | | Submitted by: ru (with modifications)
* Correct factor-of-10 error in INT_STRLEN_MAXIMUM() calculation.kris2000-08-041-1/+3
|
* Fix assigning alt_month in compatibility codeache2000-06-291-1/+1
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-214-0/+8
| | | | More libraries manpages updates following.
* Temporary cosmetic change to prevent gcc-2.95.2 from doing ancracauer2000-03-081-1/+1
| | | | | | | | | | | | | optimization that generates code our current as doesn't understand. The result is bad code that damages dynamic symbol locations at runtime. Ouch. See PR bin/16862 and discussion in -current. This change will be backed out when gcc and gas are back in sync. PR: Fixes bin/16862, but not the underlying problem. Submitted by: bde Approved by: jdk
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-021-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* There were so far only 42 different conversion specifications injoerg2000-01-282-0/+22
| | | | | | | | | strftime(3), add another one. :) %z yields the local timezone's offset in hours and minutes, as used in RFC822 headers. There's a precedence for this in Lunux' libc, and Internet software (like Perl scripts) start using it. OKed by (wrt. the code freeze): jkh
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-272-7/+7
| | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen
* Make the quotes in the #include line visible.sheldonh2000-01-191-1/+1
|
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-122-7/+9
| | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read().
* Remove discussion of %C in the BUGS section. The limitations on validsheldonh1999-12-091-4/+0
| | | | | centuries are much more serious than those mentioned and this is not the place to discuss the limitations of time_t.
* Prevent digit-gobbling for all but %l and %e, which can't be fixed.sheldonh1999-12-082-12/+85
| | | | | | | | 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
* Accept 12 for %l, because it's logical to expect "%l:%M" to work forsheldonh1999-12-081-1/+1
| | | | "12:00" and because strftime(3) does the same.
* %Ex -> %Ef to not conflict with POSIXache1999-11-305-13/+53
| | | | | | Add %EF (long months name / day order) Check that O and E not intermixed Add missing POSIX extension to example
* Document %Ex and %OBache1999-11-301-2/+4
|
* Stricter checking %A vs %aache1999-11-301-11/+13
|
* Fix %C handlingache1999-11-301-14/+52
| | | | | | Use locale for %c Add %+ Add %Ex and %OB
* Add %Ex extension to determine "%e %b" or "%b %e" orderache1999-11-303-8/+22
| | | | Separate alternative for O and E cases
* Decremement by 1 the value taken for %j before assigning it to tm_yday,sheldonh1999-11-101-6/+50
| | | | | | | | | | | | | | | | | 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)
* Add unsigned char cast to isupperache1999-11-041-1/+1
|
* Implement new format specifier for strftime: %OB, alternative nationaldt1999-09-113-19/+58
| | | | | | | | | 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
* Spelling and grammar error fix.phantom1999-09-041-2/+8
| | | | | | | | mdoc(7)'fy. PR: docs/13406 Submitted by: Garret Woolman <woolman@khavrinen.lcs.mit.edu> Reviewed by: mpp
* $Id$ -> $FreeBSD$peter1999-08-2810-10/+10
|
* Add $Id$ tag.chris1999-08-141-0/+2
|
* Bad reference time(2) changed to time(3)chris1999-08-141-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | 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
OpenPOWER on IntegriCloud