Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0 |
|
#
6c688436 |
| 30-Apr-2003 |
Mike Makonnen <mtm@FreeBSD.org> |
Backout my changes in rev. 1.32 and 1.33. There is some code that depends on the previous behaviour. This also brings strptime(3) behaviour back in line with the other BSDs.
Approved by: markm (ment
Backout my changes in rev. 1.32 and 1.33. There is some code that depends on the previous behaviour. This also brings strptime(3) behaviour back in line with the other BSDs.
Approved by: markm (mentor)
show more ...
|
#
f23f1498 |
| 05-Apr-2003 |
Mike Makonnen <mtm@FreeBSD.org> |
Zero out the struct tm supplied by the caller. Otherwise, strange things might happen when garbage values in the struct get passed in to localtime_r() and family.
Noticed by: marcus Approved by: mar
Zero out the struct tm supplied by the caller. Otherwise, strange things might happen when garbage values in the struct get passed in to localtime_r() and family.
Noticed by: marcus Approved by: markm (mentor)(implicit)
show more ...
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
764628c0 |
| 29-Mar-2003 |
Mike Makonnen <mtm@FreeBSD.org> |
Fill in the rest of the fields in the resulting struct tm from strptime(3). Previously, they would get filled only for the %s specifier and as a side effect of using the the %Z specifier with a GMT t
Fill in the rest of the fields in the resulting struct tm from strptime(3). Previously, they would get filled only for the %s specifier and as a side effect of using the the %Z specifier with a GMT time zone.
PR: misc/48993 Approved by: markm (mentor) Silence on: -standards
show more ...
|
#
fe71e0b8 |
| 12-Mar-2003 |
Mike Makonnen <mtm@FreeBSD.org> |
Ditch a static global and the mutex that protected it. Achieve the desired strptime(3) reentrancy by adding an extra argument to _strptime() instead.
Approved by: markm (mentor) MFC: 4 weeks
|
#
e0554a53 |
| 16-Feb-2003 |
Jacques Vidrine <nectar@FreeBSD.org> |
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled.
Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled.
Reviewed by: /sbin/md5
show more ...
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs |
|
#
58d38e25 |
| 06-Sep-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Style: One space between "restrict" qualifier and "*".
|
#
d542f511 |
| 15-Aug-2002 |
Robert Drehmel <robert@FreeBSD.org> |
- Add the C99 'restrict' qualifier using the '__restrict' macro to function prototype and definition of strptime(3). - Update the manual page.
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
333fc21e |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Fix the style of the SCM ID's. I believe have made all of libc .c's as consistent as possible.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
427fc5ed |
| 13-Jul-2001 |
Dima Dorfman <dd@FreeBSD.org> |
Recognize the %s format.
Submitted by: Thomas Zenker <thz@lennartz-electronic.de> and Maxim Konovalov <maxim@macomnet.ru>, respectively Reviewed by: -audit
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
58dae109 |
| 21-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Get rid of non-standard %E[Ff] formats, userland apps already fixed
|
#
faeb1b82 |
| 18-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Relax local FreeBSD restrictions on 3 chars abbrev. name length and %c format since they not allows POSIXly legal locale data. Currently, if relaxed form POSIXly legal locale data will be used right
Relax local FreeBSD restrictions on 3 chars abbrev. name length and %c format 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
show more ...
|
#
f7c5bca2 |
| 18-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Make 'A' and 'a', 'B' and 'b' the same, per POSIX
|
#
50bab1e6 |
| 02-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Implement ampm_fmt (%r) per POSIX
|
#
740972dc |
| 08-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Hardcode c_fmt in a different way since used in nl_langinfo now
|
#
930cd711 |
| 08-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Catch up to latest chanage in timelocal structures exporting.
|
#
d201fe46 |
| 24-Jan-2001 |
Daniel Eischen <deischen@FreeBSD.org> |
Remove _THREAD_SAFE and make libc thread-safe by default by adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will
Remove _THREAD_SAFE and make libc thread-safe by default by 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
show more ...
|
Revision tags: release/4.2.0 |
|
#
c8777457 |
| 26-Oct-2000 |
Andrey A. Chernov <ache@FreeBSD.org> |
Force "%c" to be ctime-compatible
Submitted by: ru
|
Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs |
|
#
398592ff |
| 08-Dec-1999 |
Sheldon Hearn <sheldonh@FreeBSD.org> |
Prevent digit-gobbling for all but %l and %e, which can't be fixed. 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: s
Prevent digit-gobbling for all but %l and %e, which can't be fixed. 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
show more ...
|
#
882f32c1 |
| 08-Dec-1999 |
Sheldon Hearn <sheldonh@FreeBSD.org> |
Accept 12 for %l, because it's logical to expect "%l:%M" to work for "12:00" and because strftime(3) does the same.
|
#
c63a4303 |
| 30-Nov-1999 |
Andrey A. Chernov <ache@FreeBSD.org> |
%Ex -> %Ef to not conflict with POSIX Add %EF (long months name / day order) Check that O and E not intermixed Add missing POSIX extension to example
|
#
7ecd80de |
| 30-Nov-1999 |
Andrey A. Chernov <ache@FreeBSD.org> |
Stricter checking %A vs %a
|
#
1d6c9941 |
| 30-Nov-1999 |
Andrey A. Chernov <ache@FreeBSD.org> |
Fix %C handling Use locale for %c Add %+ Add %Ex and %OB
|
#
33dbb0a6 |
| 10-Nov-1999 |
Sheldon Hearn <sheldonh@FreeBSD.org> |
Decremement by 1 the value taken for %j before assigning it to tm_yday, 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 (bu
Decremement by 1 the value taken for %j before assigning it to tm_yday, 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)
show more ...
|
#
3c7ffaa1 |
| 04-Nov-1999 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add unsigned char cast to isupper
|
Revision tags: release/3.3.0_cvs |
|
#
7f3dea24 |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|