Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2013 22:31:52 +0400
From:      Andrey Chernov <ache@freebsd.org>
To:        Sergey Kandaurov <pluknet@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r250245 - head/lib/libc/locale
Message-ID:  <5186A598.8040403@freebsd.org>
In-Reply-To: <201305041721.r44HLiXb066291@svn.freebsd.org>
References:  <201305041721.r44HLiXb066291@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04.05.2013 21:21, Sergey Kandaurov wrote:
> Log:
>   Document that the return type is different from 1003.1-2008.
>   

It is better to fix this function return type to match POSIX standard
rather than to document its non-standard behavior. We try to follow
POSIX when possible and this is the case.

>   MFC after:	1 week
> 
> Modified:
>   head/lib/libc/locale/freelocale.3
> 
> Modified: head/lib/libc/locale/freelocale.3
> ==============================================================================
> --- head/lib/libc/locale/freelocale.3	Sat May  4 17:06:47 2013	(r250244)
> +++ head/lib/libc/locale/freelocale.3	Sat May  4 17:21:44 2013	(r250245)
> @@ -57,5 +57,12 @@ Returns 0 on success or -1 on error.
>  .Xr uselocale 3 ,
>  .Xr xlocale 3
>  .Sh STANDARDS
> -This function conforms to
> -.St -p1003.1-2008 .
> +The
> +.Fn freelocale
> +function
> +differs from
> +.St -p1003.1-2008
> +in that its return type is
> +.Vt int
> +rather than
> +.Vt void .
> 


-- 
http://ache.vniz.net/
bitcoin:13fGiNutKNHcVSsgtGQ7bQ5kgUKgEQHn7N



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5186A598.8040403>