[Python-checkins] python/dist/src/Doc/lib libos.tex,1.85,1.86

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Mon, 10 Jun 2002 12:23:24 -0700


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

Modified Files:
	libos.tex 
Log Message:
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.


Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** libos.tex	10 May 2002 12:37:56 -0000	1.85
--- libos.tex	10 Jun 2002 19:23:22 -0000	1.86
***************
*** 313,317 ****
  
  \begin{funcdesc}{tmpfile}{}
! Return a new file object opened in update mode (\samp{w+}).  The file
  has no directory entries associated with it and will be automatically
  deleted once there are no file descriptors for the file.
--- 313,317 ----
  
  \begin{funcdesc}{tmpfile}{}
! 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.