#
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 ...
|