patch to make obexapp work with BSD iconv(3)

Iain Hibbert plunky at rya-online.net
Tue Dec 1 19:15:25 UTC 2009


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




More information about the freebsd-bluetooth mailing list