On Fri, 2007-05-04 at 17:08 +0200, Peter J. Holzer wrote:
> So either the locale should be reset at the end of the function to the
> original value or it should be set globally.

You suggested unsetting LANG.

That seems to be the same as setting LANG=C.

http://devrsrc1.external.hp.com/STK/man/10.20/cc_1.html
        If LANG is not specified or is set to the empty string, a
        default of "C" (see ... STANDARDS CONFORMANCE cc: SVID2, SVID3,
        XPG2, XPG3, XPG4 c89: POSIX.2.

fwiw
  google: 'unset LANG' tends to bring up Debian references.
  google: 'set LANG=C' tends to bring up Redhat ones.



-- 
--gh


Reply via email to