diff options
author | Guido van Rossum <guido@python.org> | 2001-01-08 17:51:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-08 17:51:55 (GMT) |
commit | e2ad63305117aec5b8f44d0894e2459a06326131 (patch) | |
tree | b4f739b9e0fb7e4a2c57627887e75afc474db0c8 | |
parent | 45b1d6a8314db3ba41e3d954efa5b9a352e3eec9 (diff) | |
download | cpython-e2ad63305117aec5b8f44d0894e2459a06326131.zip cpython-e2ad63305117aec5b8f44d0894e2459a06326131.tar.gz cpython-e2ad63305117aec5b8f44d0894e2459a06326131.tar.bz2 |
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.
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 4709674..b57bc02 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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 |