Ruslan Ermilov
de400a7b97
mdoc(7) police: use no-break space.
2001-12-12 13:46:15 +00:00
Ruslan Ermilov
f079ab33c6
mdoc(7) police: use no-break space, fix markup.
2001-12-12 13:45:35 +00:00
Ruslan Ermilov
5411c22ae5
mdoc(7) police: use non-break space, remove whitespace at EOL, fix markup.
2001-12-12 13:42:25 +00:00
Alexey Zelkin
74f2b97544
* Add my e-mail to copyrights
...
* style(9)'ify
2001-12-11 15:55:42 +00:00
Alexey Zelkin
b21656a8f4
Fix grouping string handling
2001-12-11 15:26:36 +00:00
Andrey A. Chernov
8ede26d773
Clarify ' ' space issue
2001-12-05 16:33:11 +00:00
Andrey A. Chernov
e3a3c468a5
Remove specific reference to ASCII space (' '), it is true for localized
...
spaces too
2001-12-02 12:31:44 +00:00
Andrey A. Chernov
f2f94c9675
Clarify isblank range
2001-11-30 05:39:08 +00:00
Andrey A. Chernov
a72d401cce
Clarify valid isspace() range
2001-11-30 02:01:32 +00:00
Andrey A. Chernov
307b922e38
Clarify that is[x]digit() class is the same in any locale
2001-11-29 15:23:46 +00:00
Ruslan Ermilov
32eef9aeb1
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
Andrey A. Chernov
74b6098af4
First appeared in 5.0, not in 4.4
2001-09-17 08:18:45 +00:00
Ruslan Ermilov
c4d9468ea0
mdoc(7) police:
...
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Dima Dorfman
7ebcc426ef
Remove whitespace at EOL.
2001-07-15 07:53:42 +00:00
Ruslan Ermilov
f80eb0cb14
mdoc(7) police: fixed bugs in rev. 1.19, split section headers names.
2001-07-04 10:53:15 +00:00
Andrey A. Chernov
d118fd8a39
Return "" if reallocf() fails
2001-06-25 20:56:59 +00:00
Andrey A. Chernov
ecffe71379
Describe success return value
2001-06-25 20:50:06 +00:00
Andrey A. Chernov
4e86aa7f9d
Add transition period hack allowing old locale names return proper codeset too
2001-06-25 09:03:10 +00:00
Andrey A. Chernov
75d03a7f04
Handle "ASCII" and "US-ASCII" aliases
2001-06-10 23:22:31 +00:00
Alexey Zelkin
1d7f7b7a7a
add nl_langinfo(3)
2001-05-03 15:12:52 +00:00
Alexey Zelkin
b3d588380e
Eliminate BUGS section. No one of listed bugs is applicable to FreeBSD-current
...
anymore.
2001-05-03 15:05:16 +00:00
Alexey Zelkin
1496a706b9
add manpage for nl_langinfo(3)
...
Reviewed by: ru
2001-05-03 15:02:50 +00:00
Daniel Eischen
278d1a20e8
Include <unistd.h> so that read(2) and write(2) don't cause warnings.
2001-04-10 03:55:19 +00:00
Ruslan Ermilov
50c9722d3b
mdoc(7) police: LIBRARY should be before SYNOPSIS.
2001-03-29 13:03:23 +00:00
Ruslan Ermilov
4a558355e5
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
Andrey A. Chernov
71a71d575f
Implement D_MD_ORDER (local extension) to get month/day order from locale
2001-03-19 11:55:12 +00:00
David E. O'Brien
1e58303f9f
Use our standard .c rcsid format.
2001-03-05 10:21:05 +00:00
David E. O'Brien
e4efb830ff
Fix copyright breakage in rev 1.2.
...
We *cannot* remove clause #4 from the Univ of California's license.
2001-03-05 10:18:15 +00:00
Andrey A. Chernov
54e3bc256e
Change mon_decimal_point from "." to "" (N/A>) as it is specified by POSIX for
...
POSIX locale.
2001-03-03 21:03:15 +00:00
Andrey A. Chernov
c0bbece16d
Actually implement T_FMT_AMPM
2001-03-02 22:12:19 +00:00
Ruslan Ermilov
efbe286b68
Removed duplicate $FreeBSD$.
2001-03-02 13:00:26 +00:00
Ruslan Ermilov
825d095dd3
Fix setlocale() to conform to the ISO C and POSIX standards.
...
The below text is quoted from the latest POSIX draft:
: The values of locale categories shall be determined by a precedence
: order; the first condition met below determines the value:
:
: 1. If the LC_ALL environment variable is defined and is not null,
: the value of LC_ALL shall be used.
: 2. If the LC_* environment variable (LC_COLLATE, LC_CTYPE, LC_MESSAGES,
: LC_MONETARY, LC_NUMERIC, LC_TIME) is defined and is not null, the
: value of the environment variable shall be used to initialize the
: category that corresponds to the environment variable.
: 3. If the LANG environment variable is defined and is not null, the
: value of the LANG environment variable shall be used.
: 4. If the LANG environment variable is not set or is set to the empty
: string, the implementation-defined default locale shall be used.
The conditions 1 and 2 were interchanged, i.e., LC_* were looked first,
then LC_ALL, then LANG (note that LC_ALL and LANG were essentially the
same, providing the default, with LC_ALL taking precedence over LANG).
Now, LC_ALL and LANG serve the different purposes. LC_ALL overrides
any LC_*, and LANG provides the default fallback.
Testcase:
/usr/bin/env LC_ALL=C LC_TIME=de_DE.ISO_8859-1 /bin/date
Should return date in the "C" locale format.
Inspired by: date(1) reference page in the Draft
2001-03-02 12:45:52 +00:00
Daniel Eischen
3b5b529f2e
s/fstat/_fstat/
...
Approved by: phantom
2001-03-01 04:59:01 +00:00
Ruslan Ermilov
588a200ce1
.St -ansiC -> .St -isoC
2001-02-26 13:23:47 +00:00
Alexey Zelkin
41b55591ce
Fix visibility of empty variable -- it should be static.
...
Submitted by: bde and Hartmut Brandt <brandt@fokus.gmd.de> (via PR)
PR: bin/25308
2001-02-24 13:13:48 +00:00
Alexey Zelkin
e1467aa917
cleanup commentaries
2001-02-19 19:09:00 +00:00
Andrey A. Chernov
c80a91609d
Deal properly with "0"
2001-02-19 06:19:51 +00:00
Andrey A. Chernov
8a8e51d8e8
CRNCYSTR: determine '.' too
2001-02-17 11:15:30 +00:00
Andrey A. Chernov
59dde0d08d
Implement CRNCYSTR
2001-02-17 07:35:01 +00:00
Andrey A. Chernov
d6a3432e11
Return {YES,NO}STR from locale
...
Approved by: phantom
2001-02-13 23:32:48 +00:00
Alexey Zelkin
39d2c772eb
catch up to __part_load_locale() interface change
2001-02-13 15:32:21 +00:00
Alexey Zelkin
fc38c1e548
add additional function parameter: bufsize_min. it's possible
...
to check two sizes per one function invocation now.
Suggested by: ache
2001-02-13 15:29:39 +00:00
Alexey Zelkin
b161fb0061
Make comparsions more clear (per style(9))
2001-02-12 08:56:39 +00:00
Alexey Zelkin
ba4a5c925a
Assume that "" passed as parameter also means "no grouping"
...
Make comparsions more clear (per style(9))
2001-02-12 08:55:12 +00:00
Robert Watson
4be19dddae
o Fix build of libc broken in revision 1.2. offsetof() requires the
...
inclusion of stddef.h.
Reviewed by: peter
2001-02-12 02:44:33 +00:00
Alexey Zelkin
fc19bba6aa
Don't use hardcoded struct size, use offsetof() instead (make size calculations
...
dynamic)
2001-02-11 15:09:31 +00:00
Alexey Zelkin
9040b756dd
Don't try to convert grouping strings in case if C or POSIX locale
...
was explicitly specified.
Submitted by: ache
2001-02-11 15:07:26 +00:00
Alexey Zelkin
cb03ae3061
make it possible to specify grouping number from range 0..CHAR_MAX,
...
not only one-digit number
2001-02-10 20:22:45 +00:00
Alexey Zelkin
7d2cc62ba3
Use "namespace.h" and "un-namespace.h"
...
Requested by: deischen
2001-02-10 19:57:26 +00:00
Alexey Zelkin
1bd7723d09
. Fix semantics of grouping (LC_MONETARY::mon_grouping,
...
LC_NUMERIC::grouping) values.
. Always set __XXX_changed flags then loading numeric & monetary locale
categories to allow localeconv() to use C locale also.
2001-02-10 15:36:46 +00:00