[Python-bugs-list] [ python-Bugs-544255 ] gcc warning in Modules/posixmodule.c

noreply@sourceforge.net noreply@sourceforge.net
Mon, 15 Apr 2002 09:37:46 -0700


Bugs item #544255, was opened at 2002-04-15 18:37
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=544255&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Nobody/Anonymous (nobody)
Summary: gcc warning in Modules/posixmodule.c

Initial Comment:
gcc 2.96 on Linux (RedHat 7.1) issues the following 
warning when compiling Modules/posixmodule.c 2.228:
libpython2.3.a(posixmodule.o): In function 
`posix_tmpnam':
/home/walter/Python-current-
readonly/dist/src/./Modules/posixmodule.c:5150: the 
use of `tmpnam_r' is dangerous, better use `mkstemp'
libpython2.3.a(posixmodule.o): In function 
`posix_tempnam':
/home/walter/Python-current-
readonly/dist/src/./Modules/posixmodule.c:5100: the 
use of `tempnam' is dangerous, better use `mkstemp'

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

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