mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-12 19:03:10 +03:00
Added locale setting before calling dpkg to fix "link to" parsing on non-C locales
Thanks to Andrew Borodin for this fix! Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
87174687e2
commit
7dae33b257
@ -42,7 +42,7 @@ sub mcdebfs_list
|
||||
print "-r--r--r-- 1 root root $info_size $date INFO\n";
|
||||
print "-r-xr--r-- 1 root root $install_size $date INSTALL\n";
|
||||
|
||||
if ( open(PIPEIN, "dpkg-deb -c $qarchivename |") )
|
||||
if ( open(PIPEIN, "LC_ALL=C dpkg-deb -c $qarchivename |") )
|
||||
{
|
||||
while(<PIPEIN>)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user