Commit Graph

18 Commits

Author SHA1 Message Date
ache
e39ba7ffdc Back out LANG printing changes. POSIX is unclear in this place, but
other systems do that in the old way.
2004-02-02 16:14:02 +00:00
ache
b536edf29a Fix printout case when LANG is overwritten by LC_ALL 2004-02-01 10:32:22 +00:00
grehan
17b9201288 Userland signed char fixes for PPC build. Problems were using a char
return for getopt() and comparing to -1, ditto with fgetc() and EOF,
and using the kg_nice value from <sys/user.h>

Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Reviewed by: obrien, bde (a while back)
Tested lightly on: ppc, i386, make universe
2004-01-22 07:23:36 +00:00
brueffer
e683d521f8 Grammar, spelling and punctuation sweep.
Approved by:	re (rwatson)
2003-11-26 08:38:32 +00:00
phantom
2b210e7226 Move scmp() to more appropriate location 2003-06-26 11:05:56 +00:00
phantom
30e4279488 Add support of '-m' option to show charmaps (or correctly to say list of
available codesets)

Modify manpages appropriatelly
2003-06-26 11:01:03 +00:00
phantom
c03c8753d8 implement LC_MONETARY's int_* keywords 2003-06-26 09:07:53 +00:00
phantom
043eb8b237 locale.c:
Use newly added __detect_path_locale() helper to lookup _PathLocale value.
It adds boundary checking for PATH_LOCALE environment variable value and
check for super-user fallback.

Makefile:

Add lib/libc/locale to compiler's include path (for setlocale.h)
2003-06-25 23:05:11 +00:00
phantom
e8444fede1 Catch up with _PATH_LOCALE move from rune.h to paths.h 2003-06-25 22:31:42 +00:00
phantom
8bb9bfe83d document 'list' keyword & fix few typos 2003-06-22 08:39:29 +00:00
phantom
972f1aa79e Add FreeBSD specific keyword 'list' implementation. 'locale -k list' can
be used to retrieve list of all available keywords now.
2003-06-22 08:34:27 +00:00
phantom
712d93e5b8 Add WARNS 2003-06-22 08:24:53 +00:00
phantom
f1277de5b4 Fix few typos and remove two unneeded checks
Noticed by:	ache
2003-06-20 13:29:43 +00:00
phantom
eb2e837fa1 We have manpage now, so remove NOMAN 2003-06-20 13:24:46 +00:00
phantom
ccf1c4a6e1 Fix most warnings, sort prototypes, kill spaces at EOLs 2003-06-20 13:23:51 +00:00
phantom
eca4920cc9 Add minimalistic manual page for locale(1) 2003-06-20 11:52:05 +00:00
phantom
b71a9a738b Complete rewrite of locale(1) in order to become POSIX complaint utilitty.
It's possibly not completely complaint with POSIX requirements, but
very close to it now.
2003-06-20 11:45:43 +00:00
phantom
de59ef3c8f Add locale(1). I have used it for while as useful debugging tool
for locale related things.  So, I think it could be useful for
others.  It's not yet implement (or implement in different manner)
all POSIX things, but I think it's good enough for start.

POSIX conformance related updates and manpage to follow relatively soon.
2002-10-16 13:17:18 +00:00