Package: file Version: 4.20-3 Severity: normal Hi, In a 64-bit value, if bit 15 is set, it appears to get sign-extended and clobber the rest of the value:
Current behavior: $ echo -e '\x11\x11\x11\x11\x88\x88\x88\x88' > testfile $ echo '0 bequad x %llx' > testmagic $ file -m testmagic testfile testfile: ffffffff88888888 Expected behavior: $ echo -e '\x11\x11\x11\x11\x88\x88\x88\x88' > testfile $ echo '0 bequad x %llx' > testmagic $ file -m testmagic testfile testfile: 1111111188888888 -jim -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.4 Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages file depends on: ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libmagic1 4.20-3 File type determination library us file recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

