#
18f3e1e4 |
| 08-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Export internal data structures in same manner as numeric/monetary/messages structures exported. Protect timelocal.h from multiple inclusions.
|
#
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 |
|
#
aabf7d45 |
| 26-Oct-2000 |
Andrey A. Chernov <ache@FreeBSD.org> |
Treat c_fmt field as compatibility placeholder
|
Revision tags: release/4.1.1_cvs, release/4.1.0 |
|
#
849c64f5 |
| 29-Jun-2000 |
Andrey A. Chernov <ache@FreeBSD.org> |
Fix assigning alt_month in compatibility code
|
Revision tags: release/3.5.0_cvs, release/4.0.0_cvs |
|
#
9233c4d9 |
| 28-Jan-2000 |
Jason Evans <jasone@FreeBSD.org> |
Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcomin
Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(), 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
show more ...
|
#
92927338 |
| 12-Jan-2000 |
Jason Evans <jasone@FreeBSD.org> |
Add three-tier symbol naming in support of POSIX thread cancellation points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For s
Add three-tier symbol naming in support of POSIX thread cancellation 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().
show more ...
|
Revision tags: release/3.4.0_cvs |
|
#
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
|
#
11cd0d32 |
| 30-Nov-1999 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add %Ex extension to determine "%e %b" or "%b %e" order Separate alternative for O and E cases
|
Revision tags: release/3.3.0_cvs |
|
#
da3785ef |
| 11-Sep-1999 |
Dmitrij Tejblum <dt@FreeBSD.org> |
Implement new format specifier for strftime: %OB, alternative national representation of the full month name. In the Russian locale, this alternative will be "nominative case", useful when the date d
Implement new format specifier for strftime: %OB, alternative national 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
show more ...
|
#
7f3dea24 |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8 |
|
#
e8420087 |
| 16-Sep-1998 |
Warner Losh <imp@FreeBSD.org> |
Replace memory leaking instances of realloc with non-leaking reallocf. 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 gua
Replace memory leaking instances of realloc with non-leaking reallocf. 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...
show more ...
|
Revision tags: release/2.2.7, release/2.2.6, release/2.2.5_cvs |
|
#
37486f03 |
| 09-Aug-1997 |
Joerg Wunsch <joerg@FreeBSD.org> |
Import strptime(3) into libc. We've got permission by Kevin Ruddy to modify the original `no modifications' copyright message, and i've included his mail into the source file.
The common localizati
Import strptime(3) into libc. We've got permission by Kevin Ruddy to 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].
show more ...
|
Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
3dfdc427 |
| 13-Jun-2003 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Fixes to locale code to properly use indirect pointers in order to prevent memory leaks (fixes bugs earlier purported to be fixed). Submitted by: Ed Moy <emoy@apple.com> Obtained from: Apple Computer
Fixes to locale code to properly use indirect pointers in order to prevent memory leaks (fixes bugs earlier purported to be fixed). Submitted by: Ed Moy <emoy@apple.com> Obtained from: Apple Computer, Inc. MFC after: 2 weeks
show more ...
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
1491b31e |
| 07-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Style fixes
|
Revision tags: 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 |
|
#
bcbeac34 |
| 24-Jan-2002 |
Alexey Zelkin <phantom@FreeBSD.org> |
* style(9)'fy * declare prototype for __time_load_locale() in timelocal.h
|
#
52d6b430 |
| 11-Dec-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Add my e-mail to copyrights
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
50b4c62c |
| 21-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Oops, back out prev. change - POSIX require %y in d_fmt Cosmetique - use exact POSIX string for %c
|
#
e81765cb |
| 21-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Replace %y with %Y
|
#
16a7ebb6 |
| 18-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Fix typo in the comment
|
#
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 ...
|
#
50bab1e6 |
| 02-Mar-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Implement ampm_fmt (%r) per POSIX
|
#
39d2c772 |
| 13-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
catch up to __part_load_locale() interface change
|
#
4e862380 |
| 12-Feb-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
Rewrite __time_load_locale() using ldpart.c::__part_load_locale()
Reviewed by: ache
|
#
740972dc |
| 08-Feb-2001 |
Andrey A. Chernov <ache@FreeBSD.org> |
Hardcode c_fmt in a different way since used in nl_langinfo now
|