[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#235730: patch to full 64bit file support



Package: taper
Version: 7.0pre-1-2
Severity: normal
Tags: patch

I've added a patch to avoid 2gb limit using backup to file,
I dunno if this can break other code (it's only a define),
tomorrow I'll test it on a real tape.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.21
Locale: LANG=C, LC_CTYPE=C

Versions of packages taper depends on:
ii  debconf                   1.4.11         Debian configuration management sy
ii  libc6                     2.3.2.ds1-11   GNU C Library: Shared libraries an
ii  libncurses5               5.3.20030719-5 Shared libraries for terminal hand

-- debconf information excluded
diff -Nuar taper-7.0pre-1.orig/Makefile.common taper-7.0pre-1/Makefile.common
--- taper-7.0pre-1.orig/Makefile.common	Tue Mar  2 05:27:39 2004
+++ taper-7.0pre-1/Makefile.common	Tue Mar  2 05:28:11 2004
@@ -22,7 +22,8 @@
 
 DEFINES0 = -DLINUX -D_GNU_SOURCE -Dlint	# gcc acts like a lint with -Wall
 DEFINES1 = -DTRIPLE_BUFFER              # see above 
-DEFINES2 = -D__USE_FILE_OFFSET64
+#DEFINES2 = -D__USE_FILE_OFFSET64
+DEFINES2 = -D__USE_FILE_OFFSET64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 #DEFINES2 = -DTAPER_BIG_ENDIAN          # uncomment if using big endian machine
 #DEFINES3 = -DFIFO_PROBLEMS	        # uncomment if using libc5 and getting FIFO errors
 

Reply to: