From 85c52c376ba8f2912aa3a72a38e15d7ba016d6f4 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Tue, 17 Jun 2025 11:36:14 -0700 Subject: [PATCH] gh-127146: Enable large files on Emscripten This is fully supported by Emscripten for a long time. Fixes tests: test_zipimport.CompressedZipImportTestCase.testZip64LargeFile test_zipimport.UncompressedZipImportTestCase.testZip64LargeFile --- configure | 7 ------- configure.ac | 4 ---- 2 files changed, 11 deletions(-) diff --git a/configure b/configure index 2b1482d9264d24..8334e247c3e1bb 100755 --- 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 : diff --git a/configure.ac b/configure.ac index 7dbb332f1d30a7..82fb2d8c492d48 100644 --- a/configure.ac +++ b/configure.ac @@ -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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy