Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
8e1b0bc6 |
| 19-Jan-2004 |
Jacques Vidrine <nectar@FreeBSD.org> |
libc is now WARNS=2 clean with the exception of the gdtoa bits (which are now not built with warnings enabled at all).
|
#
f434fe12 |
| 13-Jan-2004 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add and document ffsl(), fls() and flsl().
|
#
042a0b7e |
| 11-Jan-2004 |
Ruslan Ermilov <ru@FreeBSD.org> |
Replaced an ugly hack to selectively disable warnings in contributed sources with just a hack made possible by bsd.sys.mk,v 1.33. This is better because it just nulls out the warning flags rather th
Replaced an ugly hack to selectively disable warnings in contributed sources with just a hack made possible by bsd.sys.mk,v 1.33. This is better because it just nulls out the warning flags rather than adding gcc(1) specific -w option to CFLAGS.
show more ...
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
e481bf77 |
| 11-Dec-2003 |
Bruce Evans <bde@FreeBSD.org> |
Fixed English error in previous commit. Fixed some older English errors. Removed a redundant clause.
|
#
9e1cf493 |
| 10-Dec-2003 |
Mike Heffner <mikeh@FreeBSD.org> |
Add reference to standards/55112 for next time SHLIB_MAJOR is bumped.
Suggested by: wollman
|
#
8d870a43 |
| 17-Nov-2003 |
Jacques Vidrine <nectar@FreeBSD.org> |
Baby steps. Set WARNS=1 for libc.
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
89a26fd1 |
| 20-Aug-2003 |
Garrett Wollman <wollman@FreeBSD.org> |
Add a kluge suggested by Marcel to paper over the difference between gethostname()'s old and new signatures without requiring a library bump. Note that programs which called gethostname() with a neg
Add a kluge suggested by Marcel to paper over the difference between gethostname()'s old and new signatures without requiring a library bump. Note that programs which called gethostname() with a negative argument were already broken, since the same type conversion was done by the old implementation. Add a note in the Makefile so that whoever next bumps the libc revision will delete the kluge at the same time (as it will no longer be necessary). This is only operative on 64-bit platforms.
Submitted by: marcel
show more ...
|
#
4f4a104e |
| 18-Aug-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
style.Makefile(5)
|
#
41d8423f |
| 17-Aug-2003 |
Gordon Tetlow <gordon@FreeBSD.org> |
Stage 3 of dynamic root support. Make all the libraries needed to run binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib
Stage 3 of dynamic root support. Make all the libraries needed to run binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
show more ...
|
#
0b3cbc5c |
| 01-Jul-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
Axe AINC.
Submitted by: bde
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
120a95cb |
| 13-Mar-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Clean up the way gdtoa sources are found.
OK'ed by: das
|
#
6a66acb5 |
| 12-Mar-2003 |
David Schultz <das@FreeBSD.org> |
Replace our ancient dtoa/strtod implementation with the gdtoa package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc
Replace our ancient dtoa/strtod implementation with the gdtoa package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now.
As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first.
Reviewed by: bde (briefly), mike (mentor), obrien
show more ...
|
#
8cf5ed51 |
| 08-Feb-2003 |
Mike Barcroft <mike@FreeBSD.org> |
Implement fpclassify(): o Add a MD header private to libc called _fpmath.h; this header contains bitfield layouts of MD floating-point types. o Add a MI header private to libc called fpmath.h; this
Implement fpclassify(): o Add a MD header private to libc called _fpmath.h; this header contains bitfield layouts of MD floating-point types. o Add a MI header private to libc called fpmath.h; this header contains bitfield layouts of MI floating-point types. o Add private libc variables to lib/libc/$arch/gen/infinity.c for storing NaN values. o Add __double_t and __float_t to <machine/_types.h>, and provide double_t and float_t typedefs in <math.h>. o Add some C99 manifest constants (FP_ILOGB0, FP_ILOGBNAN, HUGE_VALF, HUGE_VALL, INFINITY, NAN, and return values for fpclassify()) to <math.h> and others (FLT_EVAL_METHOD, DECIMAL_DIG) to <float.h> via <machine/float.h>. o Add C99 macro fpclassify() which calls __fpclassify{d,f,l}() based on the size of its argument. __fpclassifyl() is never called on alpha because (sizeof(long double) == sizeof(double)), which is good since __fpclassifyl() can't deal with such a small `long double'.
This was developed by David Schultz and myself with input from bde and fenner.
PR: 23103 Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> (significant portions) Reviewed by: bde, fenner (earlier versions)
show more ...
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
c51d717f |
| 18-Nov-2002 |
Ruslan Ermilov <ru@FreeBSD.org> |
libc_r wasn't so tied to libc for 22 months.
|
#
74a4ba21 |
| 12-Oct-2002 |
Peter Wemm <peter@FreeBSD.org> |
Zap the early-adopter transition aid before we get into serious 5.0-R territory, as threatened. This only affects antique 5.0 systems that have not had a 'make world' done for well over a year.
|
Revision tags: release/4.7.0_cvs |
|
#
224af215 |
| 28-Sep-2002 |
Peter Wemm <peter@FreeBSD.org> |
Zap now-unused SHLIB_MINOR
|
Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
57f8b17e |
| 27-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Embellish more.
|
#
54a5fb6c |
| 27-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Embellish the comment.
|
#
ecaaecd7 |
| 23-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Update comments. We uniformly use __FBSDID in libc now.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
2b618987 |
| 13-Aug-2001 |
Peter Wemm <peter@FreeBSD.org> |
Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-( It was foiled because of dynamic copy relocations that caused compile-time space to be reserved in .bss and at run time a bl
Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-( It was foiled because of dynamic copy relocations that caused compile-time space to be reserved in .bss and at run time a blob of data was copied to that space and everything used the .bss version.. The problem is that the space is reserved at compile time, not runtime... So we *still* could not change the size of FILE. Sigh. :-(
Replace it with something that does actually work and really does let us make 'FILE' extendable. It also happens to be the same as Linux does in glibc, but has the slight cost of a pointer. Note that this is the same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has. Fortunately, actual references to stdin/out/err are not all that common since we have implicit stdin/out/err-using versions of functions (printf() vs. fprintf()).
show more ...
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
91e1be28 |
| 16-Feb-2001 |
Warner Losh <imp@FreeBSD.org> |
Fix the current libc breakage in current: o Back out the __std* stuff. Can't figure out how to do this right now, so we'll save it for late. o use _up as a pointer for extra fields that we need to
Fix the current libc breakage in current: o Back out the __std* stuff. Can't figure out how to do this right now, so we'll save it for late. o use _up as a pointer for extra fields that we need to access. o back out the libc major version bump.
Submitted by: green reviewed by: peter, imp, green, obrien (to varying degrees).
We'll fix the "how do we stop encoding sizeof(FILE) in binaries" part later.
show more ...
|
#
ff9dc074 |
| 14-Feb-2001 |
Peter Wemm <peter@FreeBSD.org> |
Commit a libc fix going by the current state of the version numbering bikeshed in -arch. It isn't quite over, but it has been well established that this can be adjusted or refined. But we do seem t
Commit a libc fix going by the current state of the version numbering bikeshed in -arch. It isn't quite over, but it has been well established that this can be adjusted or refined. But we do seem to have consensis on a major bump of some sort. After this, it should reasonably safe to build world again.
This change is to get rid of __sF[] and use seperate __stdin/out/err handles. This means we can pad on extra bits onto the end of FILE at will without going through this all over again. __sF[] was evil because it compiled the sizeof(FILE) into every stdio using program.
Asbestos suit on: check! Peril sensitive sunglasses on: check! *gulp!*
show more ...
|
#
c37592a1 |
| 29-Jan-2001 |
Daniel Eischen <deischen@FreeBSD.org> |
Clean up syscall generation in libc by removing HIDDEN_SYSCALLS and treating (almost) all system calls the same way:
__sys_foo - actual syscall foo, _foo - weak definitions to __sys_foo
Change PS
Clean up syscall generation in libc by removing HIDDEN_SYSCALLS and treating (almost) all system calls the same way:
__sys_foo - actual syscall foo, _foo - weak definitions to __sys_foo
Change PSEUDO syscalls (currently only _exit and _getlogin) to be __sys_foo (T) and _foo (W).
Add $FreeBSD$ to a few files to satisfy commitprep.
Suggested by: bde
show more ...
|
#
c701da2b |
| 26-Jan-2001 |
Daniel Eischen <deischen@FreeBSD.org> |
Comment change only; s/_thread_sys_/__sys_/
|
#
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 ...
|