man: reference $TMPDIR, not $TMP in file-hierarchy(7)

This what environ(7) and POSIX define, so that's what we should
reference.
This commit is contained in:
Lennart Poettering 2014-07-01 00:28:54 +02:00
parent 48fda3987f
commit 6e81b5b9dc
1 changed files with 7 additions and 7 deletions

View File

@ -181,11 +181,11 @@
certain time are usually automatically
deleted. If applications find the
environment variable
<varname>$TMP</varname> set they
<varname>$TMPDIR</varname> set they
should prefer using the directory
specified in it over directly
referencing
<filename>/tmp</filename>.</para></listitem>
<filename>/tmp</filename> (see <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry> for details).</para></listitem>
</varlistentry>
</variablelist>
@ -451,11 +451,11 @@
or similar calls should be used to
make use of this directory. If
applications find the environment
variable <varname>$TMP</varname> set
they should prefer using the directory
specified in it over directly
referencing
<filename>/var/tmp</filename>.
variable <varname>$TMPDIR</varname>
set they should prefer using the
directory specified in it over
directly referencing
<filename>/var/tmp</filename> (see <citerefentry><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry> for details).
</para></listitem>
</varlistentry>