]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-127146: Enable large files on Emscripten (#135635)
authorHood Chatham <roberthoodchatham@gmail.com>
Wed, 18 Jun 2025 04:34:30 +0000 (21:34 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Jun 2025 04:34:30 +0000 (04:34 +0000)
Large files have been fully supported by Emscripten for a long time.

configure
configure.ac

index 2b1482d9264d2498dca5763ada170032c1d89b08..8334e247c3e1bbd7e21cf762ef46e5f6faba1ee5 100755 (executable)
--- a/configure
+++ b/configure
@@ -12979,13 +12979,6 @@ if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
 else
   have_largefile_support="no"
 fi
-case $ac_sys_system in #(
-  Emscripten) :
-    have_largefile_support="no"
- ;; #(
-  *) :
-     ;;
-esac
 if test "x$have_largefile_support" = xyes
 then :
 
index 7dbb332f1d30a73caec01f446c00ed47133b63e1..82fb2d8c492d48b9697f2d829008c1de4671759c 100644 (file)
@@ -3172,10 +3172,6 @@ if test "$ac_cv_sizeof_off_t" -gt "$ac_cv_sizeof_long" -a \
 else
   have_largefile_support="no"
 fi
-dnl LFS does not work with Emscripten 3.1
-AS_CASE([$ac_sys_system],
-  [Emscripten], [have_largefile_support="no"]
-)
 AS_VAR_IF([have_largefile_support], [yes], [
   AC_DEFINE([HAVE_LARGEFILE_SUPPORT], [1],
   [Defined to enable large file support when an off_t is bigger than a long