Red Hat Bugzilla – Bug 79557
french version of df output the heading line with a spurious line break
Last modified: 2007-04-18 12:49:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; fr-FR; rv:1.0.1) Gecko/20020823
Description of problem:
By running xcdroast on a fresh RH80 with french language, it fails
immediately with the message df -k bad output...
This is due to the output of df as follows:
Fichiers Tail. Util. Disp. Uti. Monte sur
Note the line break between "Systeme de" and "Fichiers"
I have to run xcdroast in english using the following script:
I edited binary file /usr/share/locale/fr/LC_MESSAGES/fileutils.mo
and replaced the line break at offset 111e6 by a space.
Now I can run xcdroast in french ;-)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.set LANG to fr_FR
I had to remove all "accentuated" french characters from the description, since
I got a Software error (invalid unicode characters ...) at globals.pl when
pressing the button "Commit".
This xcdroast bug is fixed in rawhide.
*** This bug has been marked as a duplicate of 76341 ***
Although I am glad you marked this one as fixed, I am quite surprisedabout the fix you propose on rawhide. You patched xcdroast ... but the culprit is the french translationprovided for the df command in fileutils.mo ... so additionnal bugs may appear in the future with other utilities relying on the output of df . I would suggest to patch fileutils package once for good instead ofproviding fixes to utilities that seems otherwise good.Season greetings.
You are incorrect; any utility expecting a particular format of output must
specify a locale first. That's what xcdroast now does ('LANG=C df'.
Ok. You know best...
But still I do not understand with the french df output two lines
of headers instead of one:
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.