From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 26 Aug 2019 22:35:06 +0000 (-0700) Subject: Remove leftovers from the times when long long wasn't required (GH-15501) (GH-15517) X-Git-Tag: v3.7.5rc1~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4e83a350ece3f29b8feef8fcb3e4337ff3e5e7d;p=thirdparty%2FPython%2Fcpython.git 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 --- 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. */