From owner-svn-src-all@FreeBSD.ORG Sun May 5 18:31:57 2013 Return-Path: Delivered-To: svn-src-all@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 A36B7760 for ; Sun, 5 May 2013 18:31:57 +0000 (UTC) (envelope-from mailer-daemon@vniz.net) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx1.freebsd.org (Postfix) with ESMTP id 2C5E890C for ; Sun, 5 May 2013 18:31:56 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id w10so2772622lbi.26 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=D6/2ImsAiKYy8UPs9IrZDU71yuyXI2BxNkO7SZmz5Qaw9PhA88QMaeZRQBV/lnX9lU ZCJxe9BO5xcUyadlBwCqytYREZS4fSm5CjCVqbjjg3dE865VZxnLx3lwWxiiG7t5iXYL xzlYBLxbTbwddz8llRC/M6Y4GoERGfH/swIENAOj6+VkG8CsJDppy5bTTuG1hJJK9O3G ip8+V7NvrZzToI2srkkoIt2klzo3FJAO01mgo9kcSjL5O+78bHsK8NfmWWpCNPdp3pbT V3yw2A/3AuxiCj92IZp4ywRADohSTT/QwJTKTf72jMeynWWKNyiSrMqe5+KMmSb0hYwp 8U8Q== 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: ALoCoQlEuTtC4bBKV4SkChUKafzMKQA2oNYXFAiij0jnzckqREzjtD0aEcrlXyFxH+ZwqFxY3FJ+ Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 May 2013 18:31:57 -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