[patch] Two fixes for mc.ext

Martin Bialasinski martin at internet-treff.uni-koeln.de
Fri Jul 13 22:08:20 UTC 2001


Hi,

recently, file(1) chaged the description for .deb packages to "Debian
binary package (format 2.0), uses gzip compression". The entry for
gziped files just checks for the regexp "gzip" in the string. As the
gzip entry is listed prior to the .deb entry, .deb files are
mistakenly seen as plain gziped files.

The fix is to anchor the regexp (suggested by Oskar Liljeblad)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 41_fix_deb_in_mc.ext.diff
Type: text/x-patch
Size: 1331 bytes
Desc: Fix for .deb files
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20010714/d445ea0d/attachment.bin>
-------------- next part --------------

BTW: mc now includes his version of the uzip vfs. There is also a
readme file available, that could/should be included. Should I send it?

And as we are speaking about mc.ext, Michel Casabona reported, that
the entry for rexx files matches more than it should. His fix is
attached below.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 42_fix_rexx_in_mc.ext.diff
Type: text/x-patch
Size: 375 bytes
Desc: Fix for REXX
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20010714/d445ea0d/attachment-0001.bin>
-------------- next part --------------

Ciao,
        Martin


More information about the mc-devel mailing list