[tz] Proposal to deprecate "." and "-" in zone names

Tobias Conradi tobias.conradi at gmail.com
Fri May 25 23:26:15 UTC 2012


On Fri, May 25, 2012 at 1:04 PM, Steffen Daode Nurpmeso
<sdaoden at googlemail.com> wrote:
> Tobias Conradi <tobias.conradi at gmail.com> wrote:

> I referred to the portable character set of The Open Group Base
> Specifications Issue 7 / IEEE Std 1003.1™-2008
> (http://pubs.opengroup.org/onlinepubs/9699919799/):
>
>    Base Definitions
>      3. Definitions
>        3.170 Filename
>          A name consisting of 1 to {NAME_MAX} bytes used to name
>          a file. The characters composing the name may be selected
>          from the set of all character values excluding the <slash>
>          character and the null byte. The filenames dot and dot-dot
>          have special meaning. A filename is sometimes referred
>          to as a "pathname component".
>
>        3.276 Portable Filename Character Set
>
>          A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
>          a b c d e f g h i j k l m n o p q r s t u v w x y z
>          0 1 2 3 4 5 6 7 8 9 . _ -
>
>          The last three characters are the <period>,
>          <underscore>, and <hyphen> characters, respectively.
>
>      4. General Concepts
>        4.6 Filenames
>        4.7 Filename Portability
>        4.12 Pathname Resolution
>
>      13. Headers
>        limits.h - implementation-defined constants
>          {NAME_MAX}
>            Maximum number of bytes in a filename (not including the
>            terminating null).
>            Minimum Acceptable Value: {_POSIX_NAME_MAX}
>          {_POSIX_NAME_MAX}
>            Maximum number of bytes in a filename (not including
>            the terminating null).
>            Value: 14

Thanks a lot!

Deprecating "-" would allow an easy reversible conversion of "/" into
"-" in environments that only can use characters from "3.276 Portable
Filename Character Set".



-- 
Tobias Conradi
Rheinsberger Str. 18
10115 Berlin
Germany

http://tobiasconradi.com/



More information about the tz mailing list