[Python-checkins] python/dist/src/Doc/lib libos.tex,1.74.2.1.2.9,1.74.2.1.2.10
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Thu, 06 Feb 2003 18:29:03 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv9178/Doc/lib
Modified Files:
Tag: release22-maint
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.
Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.74.2.1.2.9
retrieving revision 1.74.2.1.2.10
diff -C2 -d -r1.74.2.1.2.9 -r1.74.2.1.2.10
*** libos.tex 6 Dec 2002 16:43:48 -0000 1.74.2.1.2.9
--- libos.tex 7 Feb 2003 02:29:01 -0000 1.74.2.1.2.10
***************
*** 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
***************
*** 182,185 ****
--- 184,191 ----
\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