NetBSD Problem Report #51284
From www@NetBSD.org Mon Jun 27 07:55:15 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 827247A474
for <gnats-bugs@gnats.NetBSD.org>; Mon, 27 Jun 2016 07:55:15 +0000 (UTC)
Message-Id: <20160627075514.9C7BD7AAB3@mollari.NetBSD.org>
Date: Mon, 27 Jun 2016 07:55:14 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Errors in man page wctomb
X-Send-Pr-Version: www-1.0
>Number: 51284
>Category: lib
>Synopsis: Errors in man page wctomb
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 27 08:00:00 +0000 2016
>Closed-Date: Mon Jun 27 08:21:17 +0000 2016
>Last-Modified: Mon Jun 27 08:21:17 +0000 2016
>Originator: Henning Petersen
>Release: Netbsd-current
>Organization:
>Environment:
>Description:
Change const wchar_t wchar to wchar_t wchar,
and mbtowc to wctomb.
>How-To-Repeat:
>Fix:
diff -u -p -r1.5 wctomb.3
--- lib/libc/locale/wctomb.3 14 Oct 2006 07:51:01 -0000 1.5
+++ lib/libc/locale/wctomb.3 15 Apr 2016 08:07:35 -0000
@@ -35,7 +35,7 @@
.Sh SYNOPSIS
.In stdlib.h
.Ft int
-.Fn wctomb "char * s" "const wchar_t wchar"
+.Fn wctomb "char * s" "wchar_t wchar"
.Sh DESCRIPTION
The
.Fn wctomb
@@ -112,7 +112,7 @@ If
.Fa s
is equal to
.Dv NULL ,
-.Fn mbtowc
+.Fn wctomb
returns:
.Bl -tag -width 0123456789
.It 0
>Release-Note:
>Audit-Trail:
From: "Abhinav Upadhyay" <abhinav@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51284 CVS commit: src/lib/libc/locale
Date: Mon, 27 Jun 2016 08:18:34 +0000
Module Name: src
Committed By: abhinav
Date: Mon Jun 27 08:18:34 UTC 2016
Modified Files:
src/lib/libc/locale: wctomb.3
Log Message:
Fix function prototype in the SYNOPSIS
Also, fix function name in the RETURN VALUES section.
From Henning Petersen in PR lib/51284
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/locale/wctomb.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: abhinav@NetBSD.org
State-Changed-When: Mon, 27 Jun 2016 08:21:17 +0000
State-Changed-Why:
Committed, thanks for the PR and the patch.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.