X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fposix-functions%2Fmkstemp.texi;h=ebe8c50c8bdf83ce06fd313088cd097cf8aebc0e;hb=e57376fc224a9a5d9a30938cb9b53231d4eeaafc;hp=5a1e145600a971fe512a182812ff75d8b089e6ce;hpb=ca1502f78a51c83c3443b3f3cdffdca39cdedf40;p=pspp diff --git a/doc/posix-functions/mkstemp.texi b/doc/posix-functions/mkstemp.texi index 5a1e145600..ebe8c50c8b 100644 --- a/doc/posix-functions/mkstemp.texi +++ b/doc/posix-functions/mkstemp.texi @@ -12,18 +12,22 @@ Portability problems fixed by Gnulib: This function is missing on some platforms: mingw. @item +This function is declared in @code{} instead of @code{} +on some platforms: +MacOS X 10.3. +@item On some platforms (HP-UX 10.20, SunOS 4.1.4, Solaris 2.5.1), mkstemp has a silly limit that it can create no more than 26 files from a given template. On OSF/1 4.0f, it can create only 32 files per process. +@item +On some older platforms, @code{mkstemp} can create a world or group +writable or readable file, if you haven't set the process umask to +077. This is a security risk. @end itemize Portability problems not fixed by Gnulib: @itemize -@item -On platforms other than glibc 2.0.7 or newer, @code{mkstemp} can create a -world or group writable or readable file, if you haven't set the process -umask to 077. This is a security risk. @end itemize -The gnulib module clean-temp can create temporary files that are less -likely to be left behind on signals such as SIGINT. +The gnulib module @code{clean-temp} can create temporary files that will not +be left behind after signals such as SIGINT.