From d5fad242495d20200b86868d0ec1ebd5752a62ee Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Fri, 23 Aug 2002 16:28:16 +0000 Subject: [PATCH] backport gvanrossum's checkin of revision 1.86 of libos.tex SF bug 563750 (Alex Martelli): posix_tmpfile(): The file returned by tmpfile() has mode w+b, so use that in the call to PyFile_FromFile(). Bugfix candidate. --- Doc/lib/libos.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index a82f04058c93..7aed6fb415a1 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -311,7 +311,7 @@ Availability: \UNIX, Windows. \end{funcdesc} \begin{funcdesc}{tmpfile}{} -Return a new file object opened in update mode (\samp{w+}). The file +Return a new file object opened in update mode (\samp{w+b}). The file has no directory entries associated with it and will be automatically deleted once there are no file descriptors for the file. Availability: \UNIX, Windows. -- 2.47.3