[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Add i18n utilities to common library
From: |
Rui Batista |
Subject: |
[PATCH] Add i18n utilities to common library |
Date: |
Tue, 05 Oct 2010 19:43:55 +0100 |
Hi,
Some comments after checking the gnu ligbc manual:
Ter, 2010-10-05 ?s 19:57 +0200, Andrei Kholodnyi escreveu:
> there are three functions called inside, all of them returning something.
>
> > +void init_i18n(void)
> > +{
> > + setlocale(LC_ALL, "");
> > + bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
> > + textdomain(GETTEXT_PACKAGE);
> > +}
>
setlocale doesn't return nothing we can check for errors...
The other two return NULL on out of memory. In this case what should we
do? Abort?
Regards,
Rui Batista
> Thanks,
> Andrei.
>
- [PATCH] Add i18n utilities to common library, Rui Batista, 2010/10/05
- [PATCH] Add i18n utilities to common library, William Hubbs, 2010/10/05
- [PATCH] Add i18n utilities to common library, Andrei Kholodnyi, 2010/10/05
- [PATCH] Add i18n utilities to common library, Rui Batista, 2010/10/05
- [PATCH] Add i18n utilities to common library,
Rui Batista <=
- [PATCH] Add i18n utilities to common library, Andrei Kholodnyi, 2010/10/05
- [PATCH] Add i18n utilities to common library, William Hubbs, 2010/10/05
- [PATCH] Add i18n utilities to common library, Rui Batista, 2010/10/05
- [PATCH] Add i18n utilities to common library, William Hubbs, 2010/10/05
- [PATCH] Add i18n utilities to common library, William Hubbs, 2010/10/05
- [PATCH] Add i18n utilities to common library, Andrei Kholodnyi, 2010/10/06