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



URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=5217>

                 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

    _______________________________________________________

Details:

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,
however.

- 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
<http://savannah.gnu.org/patch/download.php?file_id=10282>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=5217>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




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