*** libos.tex 2005-06-25 22:39:43.000000000 +0200 --- libos.tex.tmp 2005-06-25 22:34:49.000000000 +0200 *************** *** 1083,1090 **** 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.} ! Availability: Macintosh, \UNIX, Windows. \end{funcdesc} \begin{funcdesc}{tmpnam}{} --- 1083,1090 ---- 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()} (section \ref{os-newstreams}) ! instead.} Availability: Macintosh, \UNIX, Windows. \end{funcdesc} \begin{funcdesc}{tmpnam}{} *************** *** 1095,1106 **** paths returned by \function{tmpnam()}; no automatic cleanup is provided. \warning{Use of \function{tmpnam()} is vulnerable to symlink attacks; ! consider using \function{tmpfile()} instead.} ! Availability: \UNIX, Windows. This function probably shouldn't be used ! on Windows, though: Microsoft's implementation of \function{tmpnam()} ! always creates a name in the root directory of the current drive, and ! that's generally a poor location for a temp file (depending on ! privileges, you may not even be able to open a file using this name). \end{funcdesc} \begin{datadesc}{TMP_MAX} --- 1095,1107 ---- paths returned by \function{tmpnam()}; no automatic cleanup is provided. \warning{Use of \function{tmpnam()} is vulnerable to symlink attacks; ! consider using \function{tmpfile()} (section \ref{os-newstreams}) ! instead.} Availability: \UNIX, Windows. This function probably ! shouldn't be used on Windows, though: Microsoft's implementation of ! \function{tmpnam()} always creates a name in the root directory of the ! current drive, and that's generally a poor location for a temp file ! (depending on privileges, you may not even be able to open a file ! using this name). \end{funcdesc} \begin{datadesc}{TMP_MAX}