[Python-checkins] python/dist/src/Doc/lib libos.tex,1.74.2.1.2.7,1.74.2.1.2.8

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Tue, 12 Nov 2002 14:07:51 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv20742

Modified Files:
      Tag: release22-maint
	libos.tex 
Log Message:
Clarified documentation of tempnam().
Closes SF bug #635656.


Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.74.2.1.2.7
retrieving revision 1.74.2.1.2.8
diff -C2 -d -r1.74.2.1.2.7 -r1.74.2.1.2.8
*** libos.tex	23 Aug 2002 16:28:16 -0000	1.74.2.1.2.7
--- libos.tex	12 Nov 2002 22:07:48 -0000	1.74.2.1.2.8
***************
*** 866,869 ****
--- 866,873 ----
  managing files created using paths returned by \function{tempnam()};
  no automatic cleanup is provided.
+ On \UNIX, the environment variable \envvar{TMPDIR} overrides
+ \var{dir}, while on Windows the \envvar{TMP} is used.  The specific
+ behavior of this function depends on the C library implementation;
+ some aspects are underspecified in system documentation.
  \warning{Use of \function{tempnam()} is vulnerable to symlink attacks;
  consider using \function{tmpfile()} instead.}