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, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs |
|
#
7e546392 |
| 22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
63407d34 |
| 06-Feb-1997 |
Andrey A. Chernov <ache@FreeBSD.org> |
Use symbolic constants instead of hardcoded digits Add range check for setrunelocale since it can be called directly. Remove _startup_setlocale compatibility function
Should go into 2.2
|
#
d81a0916 |
| 05-Feb-1997 |
Andrey A. Chernov <ache@FreeBSD.org> |
Update the comment why range checking not needed
Fix setrunelocale fail if called directly without prior setlocale call
Should go in 2.2
|
Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
#
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
show more ...
|
#
af155bdf |
| 28-Dec-1996 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add comment that range checking is already done at upper level Kill snprintf left in collate.c from previous backout
Should go in 2.2
|
#
120e62ec |
| 16-Dec-1996 |
Joerg Wunsch <joerg@FreeBSD.org> |
Fix yet another buffer overflow. :-(
Vulnerable: all programs that use setlocale(LC_COLLATE), setlocale(LC_CTYPE), or setlocale(LC_ALL). The only setuid/setgid binary i've found for this is w(1).
Fix yet another buffer overflow. :-(
Vulnerable: all programs that use setlocale(LC_COLLATE), setlocale(LC_CTYPE), or setlocale(LC_ALL). The only setuid/setgid binary i've found for this is w(1).
Should go into 2.2.
show more ...
|
#
c8f931a8 |
| 26-Nov-1996 |
Andrey A. Chernov <ache@FreeBSD.org> |
PATH_LOCALE: use this non-standard env variable first time only, i.e. strdup() it to prevent unsetenv() or setenv() effects. Check its length to not allow user to overflow internal locale buffer. Mov
PATH_LOCALE: use this non-standard env variable first time only, i.e. strdup() it to prevent unsetenv() or setenv() effects. Check its length to not allow user to overflow internal locale buffer. Move PATH_LOCALE handling code into one place.
POSIX: make better stub for LC_MONETARY & LC_NUMERIC, now it check locale directory existance instead of refusing all non-C non-POSIX locales. POSIX treats empty locale env variable as unset variable while our old code treats it as "C" locale, fix it. Implement previous locale restoring, if locale setting fails. Old code assumes success if some of LC_ALL subset is successed even other fails, POSIX treats it as failure with previous locale restoring, fix it.
Remove unneccessary length checking in currentlocale()
show more ...
|
#
967a5cb1 |
| 23-Oct-1996 |
Andrey A. Chernov <ache@FreeBSD.org> |
Simplify debug output Simplify collate_range_cmp for ASCII-compatible collate we have now
|
#
1642f84d |
| 15-Oct-1996 |
Andrey A. Chernov <ache@FreeBSD.org> |
Save half of space in LC_COLLATE and remove unneded code. This change is not compatible with previous variant, however proper error code returned in both cases. Colldef changes will follows.
|
Revision tags: release/2.1.5_cvs |
|
#
eaa86f9d |
| 14-Sep-1996 |
Bruce Evans <bde@FreeBSD.org> |
Don't use __dead or __pure in user code. They were obfuscations for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where us
Don't use __dead or __pure in user code. They were obfuscations for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
show more ...
|
Revision tags: release/2.1.0_cvs |
|
#
377da8e8 |
| 23-Oct-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Optimize PathLocale handling. Handle C/POSIX/"" properly. Don't reset collate to C when it is unnecessary
|
Revision tags: release/2.0.5_cvs |
|
#
6c06b4e2 |
| 30-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
3d4c9a4b |
| 18-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Minor optimization
|
#
926f20c9 |
| 17-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Don't pick _warn module now
|
#
c3d0cca4 |
| 16-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add 8-bit collate stuff Submitted by: alex@elvisti.kiev.ua
|
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 |
|
#
edc43112 |
| 27-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Make the format of LC_COLLATE files architecture independent.
|
#
f9b5e461 |
| 27-Feb-2005 |
Alexey Zelkin <phantom@FreeBSD.org> |
ANSI'fy prototypes
|
Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
e60b9f51 |
| 22-Sep-2004 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Prefer C99's __func__ over GCC's __FUNCTION__.
|
Revision tags: 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, 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 |
|
#
a019c0e5 |
| 29-Oct-2002 |
Tim J. Robbins <tjr@FreeBSD.org> |
Remove unnecessary inclusion of <rune.h> to make it obvious that this file does not use the deprecated rune system.
|
Revision tags: release/4.7.0_cvs |
|
#
c1417061 |
| 31-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Use ntohl() to read cnains number in new format
|
#
cbc98d05 |
| 30-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Style fix
|
#
8e52da4d |
| 30-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Prepare for switching to unlimited chains format. Optimize chains lookup a bit.
|
Revision tags: release/4.6.2_cvs, release/4.6.2 |
|
#
a2a26d0a |
| 13-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Reduce BSS size for programs which not load collate by eliminating static buffer.
|
#
e34fe8a4 |
| 12-Aug-2002 |
Andrey A. Chernov <ache@FreeBSD.org> |
Now malloc() is fixed, remove errno hardcoding to ENOMEM
|