[Python-checkins] Remove leftovers from the times when long long wasn't required (GH-15501) (GH-15517)

Pablo Galindo webhook-mailer at python.org
Mon Aug 26 18:35:11 EDT 2019


https://github.com/python/cpython/commit/b4e83a350ece3f29b8feef8fcb3e4337ff3e5e7d
commit: b4e83a350ece3f29b8feef8fcb3e4337ff3e5e7d
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: Pablo Galindo <Pablogsal at gmail.com>
date: 2019-08-26T23:35:06+01:00
summary:

Remove leftovers from the times when long long wasn't required (GH-15501) (GH-15517)

In a38e9d139929a227e3899fbb638bc46c6cc6d8ba pyconfig.h.in was
manually edited and that edit was overwritten when running autoreconf.
(cherry picked from commit 52c1a6a15a471f75b775309ed1120d05f69010ca)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey at gmail.com>

files:
M configure.ac
M pyconfig.h.in

diff --git a/configure.ac b/configure.ac
index e5fb7e7b0b13..378d1bd17571 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2333,7 +2333,7 @@ if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
 	"$ac_cv_sizeof_long_long" -ge "$ac_cv_sizeof_off_t"; then
   AC_DEFINE(HAVE_LARGEFILE_SUPPORT, 1,
   [Defined to enable large file support when an off_t is bigger than a long
-   and long long is available and at least as big as an off_t. You may need
+   and long long is at least as big as an off_t. You may need
    to add some flags for configuration and compilation to enable this mode.
    (For Solaris and Linux, the necessary defines are already defined.)])
   AC_MSG_RESULT(yes)
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 1ed9479ee474..d36fc933f48c 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -540,9 +540,9 @@
 #undef HAVE_LANGINFO_H
 
 /* Defined to enable large file support when an off_t is bigger than a long
-   and long long is at least as big as an off_t. You may need to
-   add some flags for configuration and compilation to enable this mode. (For
-   Solaris and Linux, the necessary defines are already defined.) */
+   and long long is at least as big as an off_t. You may need to add some
+   flags for configuration and compilation to enable this mode. (For Solaris
+   and Linux, the necessary defines are already defined.) */
 #undef HAVE_LARGEFILE_SUPPORT
 
 /* Define to 1 if you have the 'lchflags' function. */



More information about the Python-checkins mailing list