Document that a leading ':' is skipped when checking TZ for a

fully-qualified path name.
This commit is contained in:
Todd C. Miller
2015-02-10 09:37:10 -07:00
parent 9669abdafd
commit 00f663d54d
3 changed files with 11 additions and 7 deletions

View File

@@ -1670,9 +1670,9 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS
programs. The TZ variable is considered unsafe if any programs. The TZ variable is considered unsafe if any
of the following are true: of the following are true:
++oo It consists of a fully-qualified path name that ++oo It consists of a fully-qualified path name
does not match the location of the _z_o_n_e_i_n_f_o (optionally prefixed with a colon `:') that does
directory. not match the location of the _z_o_n_e_i_n_f_o directory.
++oo It contains a _._. path element. ++oo It contains a _._. path element.

View File

@@ -3435,8 +3435,10 @@ variable is considered unsafe if any of the following are true:
.PD 0 .PD 0
.TP 4n .TP 4n
\fB\(bu\fR \fB\(bu\fR
It consists of a fully-qualified path name that does not match It consists of a fully-qualified path name
the location of the (optionally prefixed with a colon
\(oq:\&\(cq)
that does not match the location of the
\fIzoneinfo\fR \fIzoneinfo\fR
directory. directory.
.PD .PD

View File

@@ -3188,8 +3188,10 @@ The
variable is considered unsafe if any of the following are true: variable is considered unsafe if any of the following are true:
.Bl -bullet .Bl -bullet
.It .It
It consists of a fully-qualified path name that does not match It consists of a fully-qualified path name
the location of the (optionally prefixed with a colon
.Ql :\& )
that does not match the location of the
.Pa zoneinfo .Pa zoneinfo
directory. directory.
.It .It