Bug 30647 - MC's VFS doesn't work with locale != C
MC's VFS doesn't work with locale != C
Product: Red Hat Linux
Classification: Retired
Component: mc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Havoc Pennington
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-03-05 10:11 EST by Kjartan Maraas
Modified: 2007-04-18 12:31 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-03-07 16:11:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Diff for mc.ext (17.21 KB, patch)
2001-08-12 07:02 EDT, Kjartan Maraas
no flags Details | Diff
Diff for mc.ext (17.21 KB, patch)
2001-08-12 07:03 EDT, Kjartan Maraas
no flags Details | Diff
Diff for mc.ext (17.21 KB, patch)
2001-08-12 07:04 EDT, Kjartan Maraas
no flags Details | Diff
Diff for mc.ext (17.21 KB, patch)
2001-08-12 07:08 EDT, Kjartan Maraas
no flags Details | Diff
Diff for mc.ext (17.21 KB, patch)
2001-08-12 07:09 EDT, Kjartan Maraas
no flags Details | Diff

  None (edit)
Description Kjartan Maraas 2001-03-05 10:11:51 EST
Unless I start mc with 'LC_ALL=C mc' I can't use it's VFS

Hit F3 on a gzipped textfile; hangs
Press enter on a RPM; garbage-spew on screen

Comment 1 Glen Foster 2001-03-05 15:45:38 EST
This defect considered a show-stopper (MUST-FIX) for Florence GOLD release
Comment 2 Jonathan Blandford 2001-03-05 16:15:36 EST
I can't duplicate this at all.  Does it not work with all .tar.gz files, or just
Comment 3 Kjartan Maraas 2001-03-06 05:42:48 EST
It looks like something is trying to open archives as man pages. If I rename the
.rpm file so it has no numbers in it, it opens just fine. Could this be some
strange MIME interaction?
Comment 4 Kjartan Maraas 2001-03-06 05:54:20 EST
This has been found to be a bug in gnome-vfs' mime handling. There was a regexp
that included nearly all files in the entry for troff.

Comment 5 Kjartan Maraas 2001-03-07 10:12:18 EST
I have a clue now. I tested this for no_NO and da_DK and it is broken. For some
other locales (de_DE) for instance it works. After commenting out the regexps
for troff in /usr/lib/mc/mc.ext it works for me again. So the question is why
these regexps are expanded differently according to locale....


Comment 6 Preston Brown 2001-03-13 14:44:54 EST
worked around in mc-4.5.51-29 and later.
Comment 7 Kjartan Maraas 2001-08-12 07:02:32 EDT
Created attachment 27434 [details]
Diff for mc.ext
Comment 8 Kjartan Maraas 2001-08-12 07:03:56 EDT
Created attachment 27435 [details]
Diff for mc.ext
Comment 9 Kjartan Maraas 2001-08-12 07:04:29 EDT
Created attachment 27436 [details]
Diff for mc.ext
Comment 10 Kjartan Maraas 2001-08-12 07:08:15 EDT
Created attachment 27437 [details]
Diff for mc.ext
Comment 11 Kjartan Maraas 2001-08-12 07:09:40 EDT
Created attachment 27438 [details]
Diff for mc.ext
Comment 12 Kjartan Maraas 2001-08-12 07:10:09 EDT
I wonder if this was really caused by the regexp.c problems in glibc at the
time. Trying the Red Hat mc package with the mc.ext file from mc in CVS works
wonderfully now. Attaching a diff to bring the Red Hat version up to date.
Comment 13 Kjartan Maraas 2001-08-12 07:11:53 EDT
Hmmm. Sorry for the multiple attachments. Mozilla hung on submitting them so I
figured it hadn't gone through. Will file this as a bug though. It just sat
there and CPU usage went to 98%.

Well, reopening this bug too.
Comment 14 Havoc Pennington 2002-03-04 12:55:50 EST
What is the remaining issue here? Is it fixed in upstream mc latest version do
you think?
Comment 15 Kjartan Maraas 2002-03-04 16:08:16 EST
I think this was a bug in glibc that was fixed before the final 7.2 release.
Remove the band aid and let me try?
Comment 16 Havoc Pennington 2002-03-04 16:28:17 EST
Will do when I upgrade the mc package.
Comment 17 Havoc Pennington 2002-03-07 16:11:06 EST
I'm building the package now for testing.
Comment 18 Havoc Pennington 2002-03-18 12:26:29 EST
Assuming this works....
Comment 19 Kjartan Maraas 2002-03-18 14:14:03 EST
Right you are... :)

Note You need to log in before you can comment on or make changes to this bug.