freebsd-bluetooth  

Re: patch to make obexapp work with BSD iconv(3)

Iain Hibbert
Tue, 01 Dec 2009 11:15:35 -0800

On Tue, 1 Dec 2009, Matthias Drochner wrote:

>  iconv_open(3), this is more robust than trying to interpret
>  the locale string

btw nl_langinfo(3) is defined to always return a valid pointer, so the

        if (locale == NULL)
                return (-1);

is not required..

also, the locale variable can be private to obexapp_util_locale_init() as
it is not used elsewhere

regards,
iain


_______________________________________________
freebsd-bluetooth@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth
To unsubscribe, send any mail to "freebsd-bluetooth-unsubscr...@freebsd.org"