Package: file
Version: 4.12-1
Severity: wishlist

The magic(5) manpage states:

        lelong   A four-byte value (on most systems) in
                 little-endian byte order.

I was trying to write a rule to match a 32 bit little-endian
integer and I was concerned "lelong" would not cut it due to
the "on most systems" clause.  However, I tried it on 32 and
64 bit systems, both little and big endian, and it seemed to
work ok. A quick inspection of the source suggests that file
uses the typedefs from inttypes.h, and perhaps when that was
implemented the documentation  was not updated or something.

So, this bug is either "please implement defined-width types
in file" or the rather easier "please update the manpages to
reflect the fact [bl]e{short,long} _are_ defined-width".


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.13.4-jmtd2
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages file depends on:
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libraries an
ii  libmagic1              4.12-1            File type determination library us
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information

-- 
Jon Dowland
http://alcopop.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to