Viewing Issue Simple Details
[ Jump to Notes ]
|
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Type |
Date Submitted |
Last Update |
0001453 |
[1003.1(2016/18)/Issue7+TC2] Shell and Utilities |
Objection |
Error |
2021-02-16 10:10 |
2024-06-11 09:08 |
|
Reporter |
geoffclare |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
Accepted |
|
Status |
Closed |
|
|
|
|
Name |
Geoff Clare |
Organization |
The Open Group |
User Reference |
|
Section |
lex |
Page Number |
2885 |
Line Number |
95160, 95165 |
Interp Status |
--- |
Final Accepted Text |
|
|
Summary |
0001453: lex LC_COLLATE/LC_CTYPE incorrect wording about unspecified behaviour |
Description |
The descriptions of LC_COLLATE and LC_CTYPE in the lex ENVIRONMENT VARIABLES section say:If this variable is not set to the POSIX locale, the results are unspecified.
Taken at face value, this means that applications have to set those variables exactly as stated in order to avoid unspecified behaviour, e.g.: LC_COLLATE=POSIX LC_CTYPE=POSIX lex ... This is obviously not what was intended, which is that if the combination of the LANG, LC_COLLATE, LC_CTYPE, and LC_ALL variables results in the locale in effect for the LC_CTYPE or LC_COLLATE category not being the POSIX locale, the behaviour is unspecified.
|
Desired Action |
On page 2885 line 95160,95165 section lex, delete:If this variable is not set to the POSIX locale, the results are unspecified.
On page 2885 line 95170 section lex, add a paragraph after the list:If the values (if any) of the LANG, LC_COLLATE, LC_CTYPE, and LC_ALL variables result in the locale in effect for the LC_CTYPE or LC_COLLATE category not being the POSIX locale, the behavior is unspecified. and move the following text from LANG on page 2884 line 95154 to become a second sentence in the added paragraph:(See [xref to XBD 8.2] for the precedence of internationalization variables used to determine the values of locale categories.)
|
Tags |
tc3-2008 |
|
Attached Files |
|
|