[Python-bugs-list] [Bug #128053] Minor bug in posixmodule.c

noreply@sourceforge.net noreply@sourceforge.net
Mon, 08 Jan 2001 09:42:40 -0800


Bug #128053, was updated on 2001-Jan-08 09:42
Here is a current snapshot of the bug.

Project: Python
Category: Extension Modules
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: Minor bug in posixmodule.c

Details: I just pulled down the 2.0 "final", and had to fix the following
in
Modules/posixmodule.c, breifly someone has HAVE_TEMPNAM
twice instead of HAVE_TMPFILE and HAVE_TMPNAM...


*** posixmodule.c.orig	Mon Jan  8 11:28:43 2001
--- posixmodule.c	Mon Jan  8 11:28:55 2001
***************
*** 5348,5354 ****
  #ifdef HAVE_STATVFS
  	{"statvfs",	posix_statvfs, METH_VARARGS, posix_statvfs__doc__},
  #endif
! #ifdef HAVE_TMPNAM
  	{"tmpfile",	posix_tmpfile, METH_VARARGS, posix_tmpfile__doc__},
  #endif
  #ifdef HAVE_TEMPNAM
--- 5348,5354 ----
  #ifdef HAVE_STATVFS
  	{"statvfs",	posix_statvfs, METH_VARARGS, posix_statvfs__doc__},
  #endif
! #ifdef HAVE_TMPFILE
  	{"tmpfile",	posix_tmpfile, METH_VARARGS, posix_tmpfile__doc__},
  #endif
  #ifdef HAVE_TEMPNAM


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128053&group_id=5470