[Python-checkins] python/dist/src/Doc/lib libos.tex,1.110,1.111

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Thu, 06 Feb 2003 18:27:40 -0800


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

Modified Files:
	libos.tex 
Log Message:
Fix SF bug #675259, os.environ leaks under FreeBSD and Mac OS X

Even with the extra work to cleanup the env, *BSD still leaks.  Add a note.

Will backport.


Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.110
retrieving revision 1.111
diff -C2 -d -r1.110 -r1.111
*** libos.tex	3 Feb 2003 15:36:26 -0000	1.110
--- libos.tex	7 Feb 2003 02:27:36 -0000	1.111
***************
*** 94,98 ****
  mapping may be used to modify the environment as well as query the
  environment.  \function{putenv()} will be called automatically when
! the mapping is modified.
  
  If \function{putenv()} is not provided, this mapping may be passed to
--- 94,100 ----
  mapping may be used to modify the environment as well as query the
  environment.  \function{putenv()} will be called automatically when
! the mapping is modified.  \note{On some platforms, including
! FreeBSD and Mac OS X, setting \code{environ} may cause memory leaks.
! Refer to the system documentation for putenv.}
  
  If \function{putenv()} is not provided, this mapping may be passed to
***************
*** 193,196 ****
--- 195,202 ----
  \function{fork()} and \function{execv()}.
  Availability: most flavors of \UNIX, Windows.
+ 
+ \note{On some platforms, including FreeBSD and Mac OS X,
+ setting \code{environ} may cause memory leaks.
+ Refer to the system documentation for putenv.}
  
  When \function{putenv()} is