Ulrich Spörlein
47e1a877c5
Always assign WARNS using ?=
...
- fix some nearby style bugs
- include Makefile.inc where it makes sense and reduces duplication
Approved by: ed (co-mentor)
2010-03-02 16:58:04 +00:00
Ed Schouten
f6d189a9e4
Raise WARNS for various tools where possible.
...
Submitted by: Marius Nünnerich <marius@nuenneri.ch>
2010-01-17 21:56:27 +00:00
Edwin Groothuis
dec5a150d1
Add the comment "(FreeBSD only)" to the altmonth_x keywords
...
MFC after: 1 week
2009-10-07 21:14:45 +00:00
Edwin Groothuis
d5060740e3
Backout changes for c_fmt, x_fmt and X_fmt, they were coming from
...
the wrong patches. Apologies.
2009-10-05 07:21:21 +00:00
Edwin Groothuis
a250649bd8
Modified locale(1) to be able to show the altmon_X fields and the [cxX]_fmt's.
...
Also modify the "-k list" option to display only fields with a certain prefix.
MFC after: 1 week
2009-10-05 07:11:19 +00:00
Tom Rhodes
cc22380491
Xref setlocale(3), bump document date.
2005-11-01 19:36:17 +00:00
Ruslan Ermilov
324cfdb7e8
Use the standard section name.
2005-01-18 20:54:50 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Tim J. Robbins
633401b573
Remove la_LN.* from the list of bogus locales. They're incomplete, but
...
still potentially useful.
2004-08-02 12:50:12 +00:00
Tim J. Robbins
7cf18ceb88
Exclude bogus la_LN.* and UTF-8 locales from the output of locale -a
...
to discourage people from using them.
2004-08-02 12:28:28 +00:00
Ruslan Ermilov
fdc1ec368d
Clean up language and markup.
2004-05-19 10:45:40 +00:00
Andrey A. Chernov
af30114b09
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
Andrey A. Chernov
903e95e660
Fix printout case when LANG is overwritten by LC_ALL
2004-02-01 10:32:22 +00:00
Peter Grehan
5cfe0423e6
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
Christian Brueffer
5bd361ab30
Grammar, spelling and punctuation sweep.
...
Approved by: re (rwatson)
2003-11-26 08:38:32 +00:00
Alexey Zelkin
2a805f6300
Move scmp() to more appropriate location
2003-06-26 11:05:56 +00:00
Alexey Zelkin
980548ef84
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
Alexey Zelkin
b1d6647755
implement LC_MONETARY's int_* keywords
2003-06-26 09:07:53 +00:00
Alexey Zelkin
48f12e5860
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
Alexey Zelkin
d8d4841398
Catch up with _PATH_LOCALE move from rune.h to paths.h
2003-06-25 22:31:42 +00:00
Alexey Zelkin
64825d2991
document 'list' keyword & fix few typos
2003-06-22 08:39:29 +00:00
Alexey Zelkin
3f101ba0a5
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
Alexey Zelkin
d8dca302fb
Add WARNS
2003-06-22 08:24:53 +00:00
Alexey Zelkin
3c6001ec5d
Fix few typos and remove two unneeded checks
...
Noticed by: ache
2003-06-20 13:29:43 +00:00
Alexey Zelkin
c166f16908
We have manpage now, so remove NOMAN
2003-06-20 13:24:46 +00:00
Alexey Zelkin
b67daebabc
Fix most warnings, sort prototypes, kill spaces at EOLs
2003-06-20 13:23:51 +00:00
Alexey Zelkin
10efe9a914
Add minimalistic manual page for locale(1)
2003-06-20 11:52:05 +00:00
Alexey Zelkin
b296024678
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
Alexey Zelkin
84cb77d4aa
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