On Saturday 23 July 2005 23:05, Jean Delvare wrote:
> Hi Andreas,
>
> [Andreas Gruenbacher]
>
> > Calling setlocale with a value that is possibly wrong doesn't appeal
> > to me.  I'd prefer this:
> >
> > BEGIN {
> >     if (eval { require Locale::gettext }) {
> >     import Locale::gettext;
> >     require POSIX;
> >     import POSIX, qw(setlocale LC_MESSAGES);
> >     } else {
>
> I am reluctant to explicitely importing LC_MESSAGES here, as perl 5.6.x
> doesn't know about it. We did not import it explicitely at first and it
> was working, so I don't see why it would now be needed. As a matter of
> fact, it works fine for me without it.

Yes, fine.

> So, here is my latest proposal:

Okay, it's still a bit long and ugly, but I think we can live with it. Maybe a 
comment why we are doing this hack would be useful, too.

Thanks,
-- 
Andreas Gruenbacher <[EMAIL PROTECTED]>
SUSE Labs, SUSE LINUX PRODUCTS GMBH


_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to