[setup - the official Cygwin setup program] branch master, updated. release_2.926-30-g67f7a530
Jon Turney via Cygwin-apps-cvs <[email protected]> Mon, 9 Oct 2023 20:46:35 +0000 (GMT)
| Newsgroups | gmane.os.cygwin.cvs.apps |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=67f7a5308a6dbf1d3a1102b56984824a7100472b commit 67f7a5308a6dbf1d3a1102b56984824a7100472b Author: Achim Gratz <[email protected]> Date: Mon Oct 9 16:30:29 2023 +0100 Enable large files (>2 GiB) This fixes the issue reported here: https://cygwin.com/pipermail/cygwin/2023-October/254562.html Diff: --- Makefile.am | 2 +- UserSettings.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3bd83dc4..70bfd032 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,7 +28,7 @@ AM_CFLAGS = $(BASECXXFLAGS) -Wmissing-declarations -Winline \ AM_YFLAGS = -d AM_LFLAGS = -8 WINDRES = @WINDRES@ -AM_CPPFLAGS = -D__USE_MINGW_ANSI_STDIO=1 -DLZMA_API_STATIC\ +AM_CPPFLAGS = -D__USE_MINGW_ANSI_STDIO=1 -D_FILE_OFFSET_BITS=64 -DLZMA_API_STATIC \ -I$(srcdir)/libgetopt++/include \ $(ZLIB_CFLAGS) $(LZMA_CFLAGS) $(ZSTD_CFLAGS) $(LIBCRYPT_CFLAGS) $(LIBSOLV_CFLAGS) diff --git a/UserSettings.cc b/UserSettings.cc index 51497255..c8ddd3d2 100644 --- a/UserSettings.cc +++ b/UserSettings.cc @@ -32,7 +32,7 @@ public: ssize_t read (void *buffer, size_t len) {return 0;} ssize_t write (const void *buffer, size_t len) {return 0;} ssize_t peek (void *buffer, size_t len) {return 0;} - long tell () {return 0;} + off_t tell () {return 0;} off_t seek (off_t, io_stream_seek_t) {return 0;} int error () {return 0;} void operator << (std::string);