Austin Group Defect Tracker

Aardvark Mark IV


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

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2021-02-16 10:10 geoffclare New Issue
2021-02-16 10:10 geoffclare Name => Geoff Clare
2021-02-16 10:10 geoffclare Organization => The Open Group
2021-02-16 10:10 geoffclare Section => lex
2021-02-16 10:10 geoffclare Page Number => 2885
2021-02-16 10:10 geoffclare Line Number => 95160, 95165
2021-02-16 10:10 geoffclare Interp Status => ---
2021-02-16 10:10 geoffclare Description Updated
2021-11-11 16:08 Don Cragun Status New => Resolved
2021-11-11 16:08 Don Cragun Resolution Open => Accepted
2021-11-11 16:09 Don Cragun Tag Attached: tc3-2008
2021-11-26 15:05 geoffclare Status Resolved => Applied
2024-06-11 09:08 agadmin Status Applied => Closed


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker