[Patch, Fortran, committed] Add LANG=C to libgfortran/mk-kinds-h.sh
Tobias Burnus
burnus@net-b.de
Fri Oct 26 20:44:00 GMT 2007
FX Coudert wrote:
> If TRANSFER is translated, it's a bug a) in the gfortran POT file,
> probably by an overzealous, and b) in the front-end, which shouldn't
> mark this string for localization. Can you look into it?
I think you mean in the PO and not in the POT (T = Template) file.
If you look at zh_TW they also translate:
procedure name = MAIN__
into
程序名 = MAIN__
However, I'm not sure whether it is really a bug. For me, the English
output is clearer, but for some users it might be different.
Thus I don't see a reason for me to look into it - other things in
gfortran (and real life) are more important for me.
>> #!/bin/sh
>> +LANG=C
>> +export LANG
>
> Is that completely portable?
I'm not 100% sure if there is an extremely odd shell which handles this
differently, but assuming that /bin/sh is more-or-less standard-adhering
POSIX shell, it should work.
Besides, the same is also used in libstdc++-v3/scripts/extract_symvers.
Tobias
More information about the Fortran
mailing list