bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool runs compiler command in wrong locale


From: Ralf Wildenhues
Subject: Re: libtool runs compiler command in wrong locale
Date: Mon, 21 Jan 2008 08:18:26 +0100
User-agent: Mutt/1.5.17 (2008-01-15)

* Bruno Haible wrote on Mon, Jan 21, 2008 at 12:46:12AM CET:
[...]
>       if ${opt_dry_run-false}; then :; else
> +       eval "$lt_switch_to_user_locale"
>         eval "$my_cmd"
>         my_status=$?
> +       eval "$lt_switch_to_safe_locale"
>         if test "$my_status" -eq 0; then :; else
[...]

> +       lt_switch_to_user_locale=\"$lt_var=\$save_$lt_var; 
> \$lt_switch_to_user_locale\"
> +       lt_switch_to_safe_locale=\"$lt_var=C; \$lt_switch_to_safe_locale\"

This approach has the advantage of not using an extra fork (as your
branch-1-5 patch does), but it lacks re-exporting of the changed
variables, which is needed by some older shells.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]