Package: file
Version: 4.17-5etch3
Severity: minor

The algorithm which make iteration on each rule does not work always
the same. I observed this with the two following examples:

0       string/cb       \<?xml                  XML document text
0       string          \<?xml\ version "       XML
0       string          \<?xml\ version="       XML
>15     string          >\0                     %.3s document text

gives XML 1.0 document
This mean that rule 3 and 4 override rule 1.

when
0       string          Rar!            RAR archive data,
>44     byte            x               v%0x,
>35     byte            0               os: MS-DOS
>35     byte            1               os: OS/2
>35     byte            2               os: Win32
displays 
RAR archive data, v1d, os: Win32.
This mean that rule 5 does not override rules 1 and 2.

Why does not it behave the same way?




-- 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-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages file depends on:
ii  libc6                  2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  libmagic1              4.17-5etch3       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]

Reply via email to