From owner-svn-src-head@FreeBSD.ORG Sun May 5 18:32:03 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 43FCF763 for ; Sun, 5 May 2013 18:32:03 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx1.freebsd.org (Postfix) with ESMTP id C061F90E for ; Sun, 5 May 2013 18:32:02 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id v1so2810424lbd.39 for ; Sun, 05 May 2013 11:31:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:openpgp:content-type :content-transfer-encoding:x-gm-message-state; bh=CYmLoizk3CMeAycDYKi5XLIsNFSkF9OufGcq7UEH5Zw=; b=cxZ+abVdDlYK2fT1213a/ZIBGzEAw3KrKN8tJ+IuQPDVWya9/LMQEmq5hKNGO0SFPY H/Rc0cw+QVyLsDdfZ/8jLki/VbVHc+a3CEu1fzUHRNJFAPXHkgd4w2/9p5zZehOCNFYp UN17A0h4DKZW4koKooEXUgfNLJ6UwsJSXsxd+e3htB206wzUfywlKJOIEyRvdre+7aV/ poMgx+82gzf5I4hU2VHWmsZMZ8C2RqrirtaRIywqw5jizoXABQFDqXWWmWl/EQIOpUEe UtWp6mbIRnp8L2EqBkOWIJsHDrWPrKbbEHZbB+umeE45TYh8EOHU+mNCLSPqezwtOABP baMA== X-Received: by 10.152.1.232 with SMTP id 8mr6995539lap.33.1367778715700; Sun, 05 May 2013 11:31:55 -0700 (PDT) Received: from [192.168.1.2] ([89.169.163.3]) by mx.google.com with ESMTPSA id u4sm7448677lbq.2.2013.05.05.11.31.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 05 May 2013 11:31:55 -0700 (PDT) Message-ID: <5186A598.8040403@freebsd.org> Date: Sun, 05 May 2013 22:31:52 +0400 From: Andrey Chernov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Sergey Kandaurov Subject: Re: svn commit: r250245 - head/lib/libc/locale References: <201305041721.r44HLiXb066291@svn.freebsd.org> In-Reply-To: <201305041721.r44HLiXb066291@svn.freebsd.org> OpenPGP: id=964474DD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlSPDlCnbrwVVcbFPhrVBaX0fITztgwdRsvSISR8Ol3uG0ewBvAIBpORdWSzIl1ZP/o8vu3 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 May 2013 18:32:03 -0000 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