[MPlayer-dev-eng] Re: [PATCH] print appropriate error when failing to open a file

Rich Felker dalias at aerifal.cx
Tue Dec 13 19:57:06 CET 2005


On Tue, Dec 13, 2005 at 05:38:17PM +0100, Tobias Diedrich wrote:
> Dominik 'Rathann' Mierzejewski wrote:
> 
> > These are supposed to be already translated in glibc, so we're basically
> > duplicating their work. However, until we switch to gettext, I guess it's
> > ok to leave it as you propose.
> 
> No need to switch to gettext for that, as soon as we do
> "setlocale(LC_MESSAGES, "");" strerror will return a localized
> message.

The problem is that setlocale is banned in MPlayer for good reason.
It's a completely broken approach to handling locale.

Rich




More information about the MPlayer-dev-eng mailing list