-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: file
Version: 4.24-3
Severity: normal

The root cause of #481247 is that when magic.mgc is compiled during the
package build, the files in Magdir/ come out in an unpredictable order,
depending on the underlying filesystem (readdir() doesn't sort its
results). By contrast, the order of /usr/share/file/magic is determined
by "echo *" in debian/rules, which (at least on bash and dash) gives
sorted results.

file(1) probably ought to readdir() the whole directory into an array of
strings, sort them lexicographically, and iterate over the result.

As a workaround for #481247 I'll just remove magic.mgc and re-create it
from (the file that will become) /usr/share/file/magic.

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages file depends on:
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  libmagic1                     4.24-3     File type determination library us

file recommends no packages.

- -- no debconf information
-----BEGIN PGP SIGNATURE-----

iD8DBQFIZ96bWSc8zVUw7HYRAuovAJ4nS/NZ//Lubd+5d9ELvAxbFPJZPgCfW5Sb
jMKsdvAkkRFk7JvKXY9LOPk=
=eULf
-----END PGP SIGNATURE-----



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

Reply via email to