mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Anonymous SF bug report #128053 point out that the #ifdef for
including "tmpfile" in the posix_methods[] array is wrong -- should be HAVE_TMPFILE, not HAVE_TMPNAM.
This commit is contained in:
parent
45b1d6a831
commit
e2ad633051
1 changed files with 1 additions and 1 deletions
|
@ -5357,7 +5357,7 @@ static PyMethodDef posix_methods[] = {
|
|||
#ifdef HAVE_STATVFS
|
||||
{"statvfs", posix_statvfs, METH_VARARGS, posix_statvfs__doc__},
|
||||
#endif
|
||||
#ifdef HAVE_TMPNAM
|
||||
#ifdef HAVE_TMPFILE
|
||||
{"tmpfile", posix_tmpfile, METH_VARARGS, posix_tmpfile__doc__},
|
||||
#endif
|
||||
#ifdef HAVE_TEMPNAM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue