[patch #5217] vfs/extfs/deb.in fixes


                 Summary: vfs/extfs/deb.in fixes
                 Project: GNU Midnight Commander
            Submitted by: egmont
            Submitted on: Friday 06/30/2006 at 09:34
                Category: VFS
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open



The attached patch fixes two issues with the deb vfs plugin:

- Empty directories within a deb package are not shown if browsing its
contents. "dpkg -c" prints a "/" suffix for these entries and the plugin
filters them out (I wonder why). It seems to me that simply removing this
"next if ..." is fine for mc. You may want to strip off the trailing slash,

- The DEBIAN directory is empty if using dpkg-1.13.22 with hu_HU locale. The
reason is that the second line in the output of "dpkg-deb -I" ("size ..." in
English) is translated to "m�t: ..." which has a colon in the first word,
hence the plugin thinks it's already the end of the file list. The solution
is to force the C locale for output that will be parsed later.


File Attachments:

Date: Friday 06/30/2006 at 09:34  Name: deb.in.patch  Size: 788B   By: egmont
vfs/extfs/deb.in fixes


Reply to this item at:


  Message sent via/by Savannah

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]