From 3c713dfe188c8bbcc3ab96bea5fdd2253911f769 Mon Sep 17 00:00:00 2001 From: Pavel Tsekov Date: Tue, 18 Jul 2006 14:49:48 +0000 Subject: [PATCH] * vfs/extfs/deb.in (mcdebfs_list): Do not skip over directory entries. Set the locale to C when executing dpkg-deb. --- vfs/ChangeLog | 5 +++++ vfs/extfs/deb.in | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 371cf33e8..c51efadf2 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +2006-07-18 Egmont Koblinger + + * extfs/deb.in (mcdebfs_list): Do not skip over directory entries. + Set the locale to C when executing dpkg-deb. + 2006-07-13 Marcel Pol * extfs/rpm: Remove support for obsoleted RPM tags. diff --git a/vfs/extfs/deb.in b/vfs/extfs/deb.in index dd679b161..42476188c 100644 --- a/vfs/extfs/deb.in +++ b/vfs/extfs/deb.in @@ -34,7 +34,7 @@ sub mcdebfs_list local($archivename)=@_; local $qarchivename = quote($archivename); chop($date=`LC_ALL=C date "+%b %d %H:%M"`); - chop($info_size=`dpkg -I $qarchivename | wc -c`); + chop($info_size=`LC_ALL=C dpkg -I $qarchivename | wc -c`); $install_size=length($pressinstall); print "dr-xr-xr-x 1 root root 0 $date CONTENTS\n"; @@ -73,7 +73,6 @@ sub mcdebfs_list $link2=$_[$pathindex++]; $owgr=~s!/! !; - next if $path=~m!/$!; if($arrow eq 'link') { # report hard links as soft links @@ -97,7 +96,7 @@ sub mcdebfs_list } } } - if ( open(PIPEIN, "dpkg-deb -I $qarchivename |") ) + if ( open(PIPEIN, "LC_ALL=C dpkg-deb -I $qarchivename |") ) { while() {