[Python-bugs-list] [ python-Bugs-486434 ] Compiler complaints in posixmodule.c

noreply@sourceforge.net noreply@sourceforge.net
Wed, 28 Nov 2001 03:51:08 -0800


Bugs item #486434, was opened at 2001-11-28 03:51
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=486434&group_id=5470

Category: Extension Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: M.-A. Lemburg (lemburg)
Assigned to: Martin v. Löwis (loewis)
Summary: Compiler complaints in posixmodule.c

Initial Comment:
The linker on Linux reports some warnings for 
posixmodule.c:

libpython2.2.a(posixmodule.o): In function `posix_tmpnam':
/home/lemburg/projects/Python/Dev-Python/./Modules/posixmodule.c:4486:
the use of `tmpnam_r' is dangerous, better use `mkstemp'
libpython2.2.a(posixmodule.o): In function `posix_tempnam':
/home/lemburg/projects/Python/Dev-Python/./Modules/posixmodule.c:4436:
the use of `tempnam' is dangerous, better use `mkstemp'
Perhaps we ought to follow the advice ?!


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=486434&group_id=5470