public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program] branch master, updated. release_2.926-30-g67f7a530
@ 2023-10-09 20:46 Jon Turney
  0 siblings, 0 replies; only message in thread
From: Jon Turney @ 2023-10-09 20:46 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=67f7a5308a6dbf1d3a1102b56984824a7100472b

commit 67f7a5308a6dbf1d3a1102b56984824a7100472b
Author: Achim Gratz <Stromeko@Stromeko.DE>
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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-09 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-09 20:46 [setup - the official Cygwin setup program] branch master, updated. release_2.926-30-g67f7a530 Jon Turney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).