Package: fdupes
Version: 1.40-4
Severity: important

fdupes silently skips large files ( > 2GB).  Adding -D_FILE_OFFSET_BITS=64 to 
the 
compile options gets it correctly comparing large files.  However that's only a 
partial fix, as it leaves the --size output format broken for files.

fdupes.c: In function ‘printmatches’:
fdupes.c:596: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has 
type ‘off_t’
fdupes.c: In function ‘autodelete’:
fdupes.c:684: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has 
type ‘off_t’



~/src/fdupes_3/fdupes-1.40$ ./fdupes -S /d/sdb1/a /d/sdb1/b
676 byte(null)each:
/d/sdb1/b/DISK1.txt
/d/sdb1/a/DISK1.txt

-612618240 byte(null)each:
/d/sdb1/b/DISK1.iso
/d/sdb1/a/DISK1.iso

~/src/fdupes_3/fdupes-1.40$ ls -l /d/sdb1/a /d/sdb1/b
/d/sdb1/a:
total 3599564
-rwxrwxrwx 1 root root 3682349056 2006-12-10 21:58 DISK1.iso
-rwxrwxrwx 1 root root        676 2006-12-10 21:58 DISK1.txt

/d/sdb1/b:
total 3599564
-rwxr--r-- 1 andrew andrew 3682349056 2006-12-10 21:58 DISK1.iso
-rwxr--r-- 1 andrew andrew        676 2006-12-10 21:58 DISK1.txt

Thanks for your work in Debian.
Andrew V.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages fdupes depends on:
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries

fdupes recommends no packages.

-- no debconf information


Reply via email to