Skip to contentSkip to conversation

setlocale.3: tweak C/POSIX locale portability description

PATCH In review Marko Myllynen 2 participants 2 messages Jun 9, 2015 – Jun 12, 2015 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setlocale.3: tweak C/POSIX locale portability description

Hi Michael,

as discussed earlier, the current description might be a little bit too stringent, let's avoid the issue by describing the portability aspect on a slightly higher level.

References:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap06.html
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/setlocale.html

---
 man3/setlocale.3 |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
man3/setlocale.3 +2 -4
index a3102ba..1d05ba7 100644
@@ -117,10 +117,8 @@ The locale
 .B """C"""
 or
 .B """POSIX"""
-is a portable locale; its
-.B LC_CTYPE
-part corresponds to the 7-bit ASCII
-character set.
+is a portable locale;
+it exists on all conforming systems.
 .PP
 A locale name is typically of the form
 .IR language "[_" territory "][." codeset "][@" modifier "],"

Thanks,

Signature · 5 lines
Marko Myllynen
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 11 lines · Marko Myllynen

Hi Michael,

as discussed earlier, the current description might be a little bit too stringent, let's avoid the issue by describing the portability aspect on a slightly higher level.

References:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap06.html
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/setlocale.html

Thanks, Marko. Applied.

Cheers,

Michael

Quoted 24 lines
---
 man3/setlocale.3 |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
man3/setlocale.3 +2 -4
index a3102ba..1d05ba7 100644
@@ -117,10 +117,8 @@ The locale
 .B """C"""
 or
 .B """POSIX"""
-is a portable locale; its
-.B LC_CTYPE
-part corresponds to the 7-bit ASCII
-character set.
+is a portable locale;
+it exists on all conforming systems.
 .PP
 A locale name is typically of the form
 .IR language "[_" territory "][." codeset "][@" modifier "],"

Thanks,

Signature · 7 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html