History log of /freebsd/lib/libc/locale/setlocale.c (Results 51 – 75 of 124)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7
# 0b5e953b 30-Apr-1998 Andrey A. Chernov <ache@FreeBSD.org>

Basic support for LC_MESSAGES


Revision tags: release/2.2.6
# c61e5168 15-Jan-1998 John Birrell <jb@FreeBSD.org>

Add #ifndef __NETBSD_SYSCALLS around calls to issetugid() which
do not exist in NetBSD 1.3.


Revision tags: release/2.2.5_cvs, release/2.2.2_cvs
# 21b4da07 07-Apr-1997 Andrey A. Chernov <ache@FreeBSD.org>

Restore PATH_LOCALE functionality using issetugid() call now


Revision tags: 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$


# e7992815 09-Feb-1997 Andrey A. Chernov <ache@FreeBSD.org>

Move _PathLocale to data-only file, so setrunelocale() not pick up
whole setlocale.c module now.

Should go into 2.2


# cc551f25 08-Feb-1997 Joerg Wunsch <joerg@FreeBSD.org>

Do Andrey's homework :) before merging this into 2.2:

. add idempotency #ifdef
. avoid sloppy common-style external declaration.


# 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


# b6b0d266 06-Feb-1997 Paul Traina <pst@FreeBSD.org>

Fix yet another setlocale() bug.
Submitted by: Wojtek Pilorz <wpilorz@celebris.bdk.lublin.pl>


# 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


# 5979500a 05-Feb-1997 David Greenman <dg@FreeBSD.org>

Killed getenv of PATH_LOCALE per Andrey's suggestion. It was intended
for debugging locale stuff, but was rarely if ever used...and of course
just bit a big chunk out of our collective hind-ends.


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 2b3e51b9 03-Feb-1997 Andrey A. Chernov <ache@FreeBSD.org>

Add yet one comment saying that range checking already done
to stop people "fixing" it by snprintf


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


# e2900279 27-Nov-1996 Andrey A. Chernov <ache@FreeBSD.org>

Add rcsid[]

Since locale reading code not resistent against stack overflowing or
similar intruder attacks, don't allow PATH_LOCALE env variable action
for s-bit programs (non-standard locale path se

Add rcsid[]

Since locale reading code not resistent against stack overflowing or
similar intruder attacks, don't allow PATH_LOCALE env variable action
for s-bit programs (non-standard locale path setting)

show more ...


# 40c0625e 26-Nov-1996 Andrey A. Chernov <ache@FreeBSD.org>

Add Id
Optimize/improve recently added locale restoration on failure


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


Revision tags: release/2.1.5_cvs, release/2.1.0_cvs
# 24c91879 23-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Use fake (empty) startup_setlocale for XPG4


# 350a3d3e 23-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Migrate from XPG4 to XPG3 (libxpg4 will be added soon)
Remove big part of my startup_setlocale hack.
Add missing manpage links.


# 696cbd5f 22-Oct-1995 Poul-Henning Kamp <phk@FreeBSD.org>

As above.
Oh I also put in a couple of compile-time warnings for the crypt stuff.


# 6240d16c 05-Aug-1995 Andrey A. Chernov <ache@FreeBSD.org>

Fix cut&paste error: LC_COLLATE should be LC_TIME


# c28fbb7b 04-Aug-1995 Garrett Wollman <wollman@FreeBSD.org>

Implement locale-sensitive strftime () from ADO (heavily modified
by me). This probably loses for multibyte characters, but I have no
way of telling. I'll let ache decide whether to add this suppor

Implement locale-sensitive strftime () from ADO (heavily modified
by me). This probably loses for multibyte characters, but I have no
way of telling. I'll let ache decide whether to add this support to
startup_setlocale. Note that for this to make any sense at all, the
symlinks in /usr/share/locale must go. (For the moment, this doesn't
make any difference since there are no locales supplied.)

Obtained from: Arthur David Olson <ado@elsie.nci.nih.gov>

show more ...


Revision tags: release/2.0.5_cvs
# c3d0cca4 16-Feb-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add 8-bit collate stuff
Submitted by: alex@elvisti.kiev.ua


Revision tags: release/2.0
# 2f04ec53 24-Sep-1994 Andrey A. Chernov <ache@FreeBSD.org>

Make not-so-space-eaten locale version:
split modules to bring only neccessary functions,
eliminate sprintf, make reduced startup_locale version.


Revision tags: release/1.1.5.1_cvs
# 58f0484f 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Lib Sources


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
# c879ae35 09-Jan-2007 Warner Losh <imp@FreeBSD.org>

Per Regents of the University of Calfornia letter, remove advertising
clause.

# If I've done so improperly on a file, please let me know.


Revision tags: 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
# 41ddc53b 31-Jan-2004 Andrey A. Chernov <ache@FreeBSD.org>

LC_ALL not always take priority over other LC_*

Obtained from: NetBSD
PR: 62047


12345