NetBSD Problem Report #52343

From www@NetBSD.org  Mon Jun 26 16:03:19 2017
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 E1F6A7A173
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 26 Jun 2017 16:03:19 +0000 (UTC)
Message-Id: <20170626160318.F018C7A2B6@mollari.NetBSD.org>
Date: Mon, 26 Jun 2017 16:03:18 +0000 (UTC)
From: n54@gmx.com
Reply-To: n54@gmx.com
To: gnats-bugs@NetBSD.org
Subject: wcsnrtombs missing man-page
X-Send-Pr-Version: www-1.0

>Number:         52343
>Category:       standards
>Synopsis:       wcsnrtombs missing man-page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    abhinav
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 26 16:05:00 +0000 2017
>Closed-Date:    Fri Oct 11 17:53:05 +0000 2024
>Last-Modified:  Fri Oct 11 17:53:05 +0000 2024
>Originator:     Kamil Rytarowski
>Release:        NetBSD 8.99.1 amd64
>Organization:
TNF
>Environment:
NetBSD chieftec 8.99.1 NetBSD 8.99.1 (GENERIC) #3: Mon Jun 26 02:43:39 CEST 2017  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/wcsnrtombs.html

$ nm /usr/lib/libc.so|grep wcsnrtombs
00000000000ff817 T _citrus_ctype_wcsnrtombs_fallback
00000000000a8e17 T wcsnrtombs
00000000000a8c34 T wcsnrtombs_l
>How-To-Repeat:
$ man wcsnrtombs
man: no entry for wcsnrtombs in the manual.
>Fix:
Add a man-page.

>Release-Note:

>Audit-Trail:
From: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>
To: NetBSD GNATS <gnats-bugs@netbsd.org>
Cc: standards-manager@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: standards/52343: wcsnrtombs missing man-page
Date: Tue, 27 Jun 2017 16:30:50 +0530

 On Mon, Jun 26, 2017 at 9:35 PM,  <n54@gmx.com> wrote:
 >>Number:         52343
 >>Category:       standards
 >>Synopsis:       wcsnrtombs missing man-page
 >>Confidential:   no
 >>Severity:       non-critical
 >>Priority:       low
 >>Responsible:    standards-manager
 >>State:          open
 >>Class:          change-request
 >>Submitter-Id:   net
 >>Arrival-Date:   Mon Jun 26 16:05:00 +0000 2017
 >>Originator:     Kamil Rytarowski
 >>Release:        NetBSD 8.99.1 amd64
 >>Organization:
 > TNF
 >>Environment:
 > NetBSD chieftec 8.99.1 NetBSD 8.99.1 (GENERIC) #3: Mon Jun 26 02:43:39 CEST 2017  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
 >>Description:
 > http://pubs.opengroup.org/onlinepubs/9699919799/functions/wcsnrtombs.html
 >
 > $ nm /usr/lib/libc.so|grep wcsnrtombs
 > 00000000000ff817 T _citrus_ctype_wcsnrtombs_fallback
 > 00000000000a8e17 T wcsnrtombs
 > 00000000000a8c34 T wcsnrtombs_l
 >>How-To-Repeat:
 > $ man wcsnrtombs
 > man: no entry for wcsnrtombs in the manual.
 >>Fix:
 > Add a man-page.

 OpenBSD and FreeBSD have a man page for this. Can we take it from
 either of them?

 -
 Abhinav

From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: standards-manager@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, n54@gmx.com
Subject: Re: standards/52343: wcsnrtombs missing man-page
Date: Tue, 27 Jun 2017 13:57:22 +0200

 On Tue, Jun 27, 2017 at 11:05:01AM +0000, Abhinav Upadhyay wrote:
 > The following reply was made to PR standards/52343; it has been noted by GNATS.
 > 
 >  > $ man wcsnrtombs
 >  > man: no entry for wcsnrtombs in the manual.
 >  >>Fix:
 >  > Add a man-page.
 >  
 >  OpenBSD and FreeBSD have a man page for this. Can we take it from
 >  either of them?

 Just extend wcsrtombs.

 Joerg

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, standards-manager@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, n54@gmx.com
Cc: 
Subject: Re: standards/52343: wcsnrtombs missing man-page
Date: Tue, 27 Jun 2017 08:53:02 -0400

 On Jun 27, 11:05am, er.abhinav.upadhyay@gmail.com (Abhinav Upadhyay) wrote:
 -- Subject: Re: standards/52343: wcsnrtombs missing man-page

 |  OpenBSD and FreeBSD have a man page for this. Can we take it from
 |  either of them?

 Yes, we usually take libc stuff from FreeBSD.

 christos

Responsible-Changed-From-To: standards-manager->abhinav
Responsible-Changed-By: abhinav@NetBSD.org
Responsible-Changed-When: Tue, 27 Jun 2017 14:54:34 +0000
Responsible-Changed-Why:
working on this


From: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>
To: NetBSD GNATS <gnats-bugs@netbsd.org>
Cc: standards-manager@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org, n54@gmx.com
Subject: Re: standards/52343: wcsnrtombs missing man-page
Date: Sun, 27 Aug 2017 15:36:24 +0530

 On Tue, Jun 27, 2017 at 6:25 PM, Christos Zoulas <christos@zoulas.com> wrote:
 > The following reply was made to PR standards/52343; it has been noted by GNATS.
 >
 > From: christos@zoulas.com (Christos Zoulas)
 > To: gnats-bugs@NetBSD.org, standards-manager@netbsd.org,
 >         gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, n54@gmx.com
 > Cc:
 > Subject: Re: standards/52343: wcsnrtombs missing man-page
 > Date: Tue, 27 Jun 2017 08:53:02 -0400
 >
 >  On Jun 27, 11:05am, er.abhinav.upadhyay@gmail.com (Abhinav Upadhyay) wrote:
 >  -- Subject: Re: standards/52343: wcsnrtombs missing man-page
 >
 >  |  OpenBSD and FreeBSD have a man page for this. Can we take it from
 >  |  either of them?
 >
 >  Yes, we usually take libc stuff from FreeBSD.
 >

 Does this look fine? Mostly based on the FreeBSD man page. (I will add
 set entries for wcsnrtombs.3)

 FreeBSD man page also says that these functions may have EINVAL as a
 possible error but I am not sure if our implementation does that or
 not, so left that part as it is.

 Index: wcsrtombs.3
 ===================================================================
 RCS file: /cvsroot/src/lib/libc/locale/wcsrtombs.3,v
 retrieving revision 1.13
 diff -u -r1.13 wcsrtombs.3
 --- wcsrtombs.3 16 Dec 2010 17:42:27 -0000      1.13
 +++ wcsrtombs.3 27 Aug 2017 10:00:58 -0000
 @@ -24,12 +24,12 @@
  .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  .\" SUCH DAMAGE.
  .\"
 -.Dd August 8, 2006
 +.Dd August 27, 2017
  .Dt WCSRTOMBS 3
  .Os
  .\" ----------------------------------------------------------------------
  .Sh NAME
 -.Nm wcsrtombs
 +.Nm wcsrtombs, wcsnrtombs
  .Nd converts a wide-character string to a multibyte character string \
  (restartable)
  .\" ----------------------------------------------------------------------
 @@ -41,11 +41,14 @@
  .Ft size_t
  .Fn wcsrtombs "char * restrict s" "const wchar_t ** restrict pwcs" \
  "size_t n" "mbstate_t * restrict ps"
 +.Ft size_t
 +.Fn wcsnrtombs "char * restrict s" "const wchar_t ** restrict pwcs" \
 +"size_t in" "size_t n" "mbstat_t * restrict ps"
  .\" ----------------------------------------------------------------------
  .Sh DESCRIPTION
  The
  .Fn wcsrtombs
 -converts the nul-terminated wide-character string indirectly pointed
 +function converts the nul-terminated wide-character string indirectly pointed
  to by
  .Fa pwcs
  to the corresponding multibyte character string,
 @@ -124,10 +127,22 @@
  .Fn wcsrtombs ,
  which is initialized at startup time of the program.
  .El
 +.Pp
 +The
 +.Fn wcsnrtombs
 +function behaves identically to
 +.Fn wcsrtombs ,
 +except that the conversion stops after reading at most
 +.Fa in
 +characters from the buffer pointed to by
 +.Fa pwcs .
  .\" ----------------------------------------------------------------------
  .Sh RETURN VALUES
 +The
  .Fn wcsrtombs
 -returns:
 +and
 +.Fn wcsnrtombs
 +functions return:
  .Bl -tag -width 012345678901
  .It 0 or positive
  Number of bytes stored in the array pointed to by
 @@ -154,8 +169,11 @@
  .El
  .\" ----------------------------------------------------------------------
  .Sh ERRORS
 +The
  .Fn wcsrtombs
 -may cause an error in the following case:
 +and
 +.Fn wcsnrtombs
 +functions may cause an error in the following case:
  .Bl -tag -width Er
  .It Bq Er EILSEQ
  .Fa pwcs
 @@ -174,3 +192,7 @@
  .St -ansiC .
  The restrict qualifier is added at
  .St -isoC-99 .
 +.Pp
 +The
 +.Fn wcsnrtombs
 +is an extension to the standard.
 Index: Makefile.inc
 ===================================================================
 RCS file: /cvsroot/src/lib/libc/locale/Makefile.inc,v
 retrieving revision 1.64
 diff -u -r1.64 Makefile.inc
 --- Makefile.inc        18 Aug 2013 20:03:48 -0000      1.64
 +++ Makefile.inc        27 Aug 2017 10:00:58 -0000
 @@ -52,4 +52,6 @@
  MLINKS+=wcstol.3 wcstoll.3 wcstol.3 wcstoimax.3 \
         wcstol.3 wcstoul.3 wcstol.3 wcstoull.3 wcstol.3 wcstoumax.3

 +MLINKS+=wcsrtombs.3 wcsnrtombs.3
 +
  COPTS.wcsftime.c = -Wno-format-nonliteral

From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: standards/52343: wcsnrtombs missing man-page
Date: Sun, 27 Aug 2017 13:03:37 +0200

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --EveTDU2RTqsWo3DSaJX7mHXKJWcj9w4vK
 Content-Type: multipart/mixed; boundary="G8knJt9mJ3a0gahvcmnVi2hS7kAKcWwMi";
  protected-headers="v1"
 From: Kamil Rytarowski <n54@gmx.com>
 To: gnats-bugs@NetBSD.org
 Message-ID: <a6a142c9-7137-0069-5ecd-916ad3bc30ba@gmx.com>
 Subject: Re: standards/52343: wcsnrtombs missing man-page
 References: <pr-standards-52343@gnats.netbsd.org>
  <20170626160318.F018C7A2B6@mollari.NetBSD.org>
  <20170827101001.340197A2A6@mollari.NetBSD.org>
 In-Reply-To: <20170827101001.340197A2A6@mollari.NetBSD.org>

 --G8knJt9mJ3a0gahvcmnVi2hS7kAKcWwMi
 Content-Type: text/plain; charset=utf-8
 Content-Language: en-US
 Content-Transfer-Encoding: quoted-printable

 On 27.08.2017 12:10, Abhinav Upadhyay wrote:
 > The following reply was made to PR standards/52343; it has been noted b=
 y GNATS.
 >=20
 > From: Abhinav Upadhyay <er.abhinav.upadhyay@gmail.com>
 > To: NetBSD GNATS <gnats-bugs@netbsd.org>
 > Cc: standards-manager@netbsd.org, gnats-admin@netbsd.org,=20
 > 	netbsd-bugs@netbsd.org, n54@gmx.com
 > Subject: Re: standards/52343: wcsnrtombs missing man-page
 > Date: Sun, 27 Aug 2017 15:36:24 +0530
 >=20
 >  On Tue, Jun 27, 2017 at 6:25 PM, Christos Zoulas <christos@zoulas.com>=
  wrote:
 >  > The following reply was made to PR standards/52343; it has been note=
 d by GNATS.
 >  >
 >  > From: christos@zoulas.com (Christos Zoulas)
 >  > To: gnats-bugs@NetBSD.org, standards-manager@netbsd.org,
 >  >         gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, n54@gmx.com
 >  > Cc:
 >  > Subject: Re: standards/52343: wcsnrtombs missing man-page
 >  > Date: Tue, 27 Jun 2017 08:53:02 -0400
 >  >
 >  >  On Jun 27, 11:05am, er.abhinav.upadhyay@gmail.com (Abhinav Upadhyay=
 ) wrote:
 >  >  -- Subject: Re: standards/52343: wcsnrtombs missing man-page
 >  >
 >  >  |  OpenBSD and FreeBSD have a man page for this. Can we take it fro=
 m
 >  >  |  either of them?
 >  >
 >  >  Yes, we usually take libc stuff from FreeBSD.
 >  >
 > =20
 >  Does this look fine? Mostly based on the FreeBSD man page. (I will add=

 >  set entries for wcsnrtombs.3)
 > =20
 >  FreeBSD man page also says that these functions may have EINVAL as a
 >  possible error but I am not sure if our implementation does that or
 >  not, so left that part as it is.
 > =20
 >  Index: wcsrtombs.3
 >  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 >  RCS file: /cvsroot/src/lib/libc/locale/wcsrtombs.3,v
 >  retrieving revision 1.13
 >  diff -u -r1.13 wcsrtombs.3
 >  --- wcsrtombs.3 16 Dec 2010 17:42:27 -0000      1.13
 >  +++ wcsrtombs.3 27 Aug 2017 10:00:58 -0000
 >  @@ -24,12 +24,12 @@
 >   .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILI=
 TY OF
 >   .\" SUCH DAMAGE.
 >   .\"
 >  -.Dd August 8, 2006
 >  +.Dd August 27, 2017
 >   .Dt WCSRTOMBS 3
 >   .Os
 >   .\" -----------------------------------------------------------------=
 -----
 >   .Sh NAME
 >  -.Nm wcsrtombs
 >  +.Nm wcsrtombs, wcsnrtombs
 >   .Nd converts a wide-character string to a multibyte character string =
 \
 >   (restartable)
 >   .\" -----------------------------------------------------------------=
 -----
 >  @@ -41,11 +41,14 @@
 >   .Ft size_t
 >   .Fn wcsrtombs "char * restrict s" "const wchar_t ** restrict pwcs" \
 >   "size_t n" "mbstate_t * restrict ps"
 >  +.Ft size_t
 >  +.Fn wcsnrtombs "char * restrict s" "const wchar_t ** restrict pwcs" \=

 >  +"size_t in" "size_t n" "mbstat_t * restrict ps"
 >   .\" -----------------------------------------------------------------=
 -----
 >   .Sh DESCRIPTION
 >   The
 >   .Fn wcsrtombs
 >  -converts the nul-terminated wide-character string indirectly pointed
 >  +function converts the nul-terminated wide-character string indirectly=
  pointed
 >   to by
 >   .Fa pwcs
 >   to the corresponding multibyte character string,
 >  @@ -124,10 +127,22 @@
 >   .Fn wcsrtombs ,
 >   which is initialized at startup time of the program.
 >   .El
 >  +.Pp
 >  +The
 >  +.Fn wcsnrtombs
 >  +function behaves identically to
 >  +.Fn wcsrtombs ,
 >  +except that the conversion stops after reading at most
 >  +.Fa in
 >  +characters from the buffer pointed to by
 >  +.Fa pwcs .
 >   .\" -----------------------------------------------------------------=
 -----
 >   .Sh RETURN VALUES
 >  +The
 >   .Fn wcsrtombs
 >  -returns:
 >  +and
 >  +.Fn wcsnrtombs
 >  +functions return:
 >   .Bl -tag -width 012345678901
 >   .It 0 or positive
 >   Number of bytes stored in the array pointed to by
 >  @@ -154,8 +169,11 @@
 >   .El
 >   .\" -----------------------------------------------------------------=
 -----
 >   .Sh ERRORS
 >  +The
 >   .Fn wcsrtombs
 >  -may cause an error in the following case:
 >  +and
 >  +.Fn wcsnrtombs
 >  +functions may cause an error in the following case:
 >   .Bl -tag -width Er
 >   .It Bq Er EILSEQ
 >   .Fa pwcs
 >  @@ -174,3 +192,7 @@
 >   .St -ansiC .
 >   The restrict qualifier is added at
 >   .St -isoC-99 .
 >  +.Pp
 >  +The
 >  +.Fn wcsnrtombs
 >  +is an extension to the standard.

 http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.html

 >  Index: Makefile.inc
 >  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 >  RCS file: /cvsroot/src/lib/libc/locale/Makefile.inc,v
 >  retrieving revision 1.64
 >  diff -u -r1.64 Makefile.inc
 >  --- Makefile.inc        18 Aug 2013 20:03:48 -0000      1.64
 >  +++ Makefile.inc        27 Aug 2017 10:00:58 -0000
 >  @@ -52,4 +52,6 @@
 >   MLINKS+=3Dwcstol.3 wcstoll.3 wcstol.3 wcstoimax.3 \
 >          wcstol.3 wcstoul.3 wcstol.3 wcstoull.3 wcstol.3 wcstoumax.3
 > =20
 >  +MLINKS+=3Dwcsrtombs.3 wcsnrtombs.3
 >  +
 >   COPTS.wcsftime.c =3D -Wno-format-nonliteral
 > =20
 >=20

 The rest looks fine, thanks!


 --G8knJt9mJ3a0gahvcmnVi2hS7kAKcWwMi--

 --EveTDU2RTqsWo3DSaJX7mHXKJWcj9w4vK
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2

 iQIcBAEBCAAGBQJZoqcXAAoJEEuzCOmwLnZs9hwP/0h+dqHDPUyo+IfCMrbjFIWX
 30NbMEGr4SOcoOnoWr8nPiO1bCwrsyLiGQTPj+o2yuYeotnd14qdhnvBjLsOx8wn
 y491QH0Dd2EUFaaEiARaONfPBiemkffvt0MV45Q3JNVymVywN3XGY0MYO7KZaIYf
 O/6R/fnFBfM8B+9QQxPoNCKBln5UPXQac+8L4pFHqKIxFNKV9stpsbFj3lLnpMZ0
 R3fKHZE44NQpmymydWX9ksyiHyS0JFuOuUPe3hGf4JKIwYDvTBWCyNw0CZqq9b3/
 vslYmcr3ucmz72C8EGrA0RiEvpmsrFyHj6ALDGBBLSMLQtZq1BrYt10WkvoT7xiM
 cv5zoYJUmWcSjORjMwM1noCOGdJMmVKYPTTGcpLqbXW2qDiDS1KX2DxbU9QR6wvO
 tCtEe2v7TVotgC0cLJzqm+kCvNaiQuOFOwTyMfpeLICoO9LeGczFoow3iZi0NTvI
 6bbQx2l8Sarq4ZAufP+pd+eC1iTJdTfjjx99KXuziOJySh1wBUA3+U79rWaSTnfO
 dNPlgo5EmoxWbOewC5dCZuFF83DJFHpbkR8mYO3Bnt6ztgmo7+t05shuu+VW0vEV
 QUOUV0cMsHmeXM8IhAf8aEyDv8IifomffsP1O/TD6E3vgRrjZYsWXEGJubLQzDpT
 qiWafTm0k5QyFUHA/quM
 =etDM
 -----END PGP SIGNATURE-----

 --EveTDU2RTqsWo3DSaJX7mHXKJWcj9w4vK--

From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: standards/52343: wcsnrtombs missing man-page
Date: Sun, 27 Aug 2017 14:17:03 +0200

 Hello Kamil,

 Kamil Rytarowski writes:
 > [...]
 >  >  +.Pp
 >  >  +The
 >  >  +.Fn wcsnrtombs
 >  >  +is an extension to the standard.
 >  
 >  http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.html
 >
 > [...]

 A bit sibylline but I think that's correct. I guess that the original
 FreeBSD man page meant: `is an extension to the ISO C standard.' in this
 context (both in NetBSD man page, FreeBSD man page and Abhinav's patch
 the STANDARDS section does not reference `IEEE Std 1003.1-2008').

 Or, am I missing something?

From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: standards/52343: wcsnrtombs missing man-page
Date: Sun, 27 Aug 2017 14:16:35 +0200

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --inPBxQAEC42AM40Jnn1LKsXe6MehWND2H
 Content-Type: multipart/mixed; boundary="QCf9V45qVpLKm7UCrq17j2l6mGOw9h9oS";
  protected-headers="v1"
 From: Kamil Rytarowski <n54@gmx.com>
 To: gnats-bugs@NetBSD.org
 Message-ID: <da8927fd-2e24-2c39-a8ad-91c016708ffa@gmx.com>
 Subject: Re: standards/52343: wcsnrtombs missing man-page
 References: <pr-standards-52343@gnats.netbsd.org>
  <20170626160318.F018C7A2B6@mollari.NetBSD.org>
  <20170827122001.486177A269@mollari.NetBSD.org>
 In-Reply-To: <20170827122001.486177A269@mollari.NetBSD.org>

 --QCf9V45qVpLKm7UCrq17j2l6mGOw9h9oS
 Content-Type: text/plain; charset=utf-8
 Content-Language: en-US
 Content-Transfer-Encoding: quoted-printable

 On 27.08.2017 14:20, Leonardo Taccari wrote:
 > The following reply was made to PR standards/52343; it has been noted b=
 y GNATS.
 >=20
 > From: Leonardo Taccari <leot@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:=20
 > Subject: Re: standards/52343: wcsnrtombs missing man-page
 > Date: Sun, 27 Aug 2017 14:17:03 +0200
 >=20
 >  Hello Kamil,
 > =20
 >  Kamil Rytarowski writes:
 >  > [...]
 >  >  >  +.Pp
 >  >  >  +The
 >  >  >  +.Fn wcsnrtombs
 >  >  >  +is an extension to the standard.
 >  > =20
 >  >  http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.ht=
 ml
 >  >
 >  > [...]
 > =20
 >  A bit sibylline but I think that's correct. I guess that the original
 >  FreeBSD man page meant: `is an extension to the ISO C standard.' in th=
 is
 >  context (both in NetBSD man page, FreeBSD man page and Abhinav's patch=

 >  the STANDARDS section does not reference `IEEE Std 1003.1-2008').
 > =20
 >  Or, am I missing something?
 > =20
 >=20

 For clarity it's useful to specify that this is a POSIX standard
 function, this implies extension to the ISO C standard which is in my
 opinion redundant information. Specifying that this is just an extension
 is misleading, as it might be NetBSD specific extension.


 --QCf9V45qVpLKm7UCrq17j2l6mGOw9h9oS--

 --inPBxQAEC42AM40Jnn1LKsXe6MehWND2H
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2

 iQIcBAEBCAAGBQJZorgsAAoJEEuzCOmwLnZs4vcP/Ax/eUDghMoDZZmI4exzRZEo
 vH414mMwisCZm7pQfDnUNY3kRlj+iGWfvsUz7wDvd7U9dURpon05GmxKQPVCl6Vn
 ZFe0zXMDYHD60N2ICs9D4w0yYw7npX8w3dwLU4nz3GAxJbNNmaXvKfnJRLxLxZse
 19PNPV7NB8qD0N313MIDyTBNSoQS8ZI/BwSCBjvllda5bXbixoDG0RHWRfwENPOl
 cfhzjTfQFQZ1EUuOiJtnpk09ZSk3mAQcZICggLx5a3Wn8UXVZbb2YevwqAxSNK3Q
 4KytW6LThV9cgmBIGkICb3tnpH5qe/2DnsciTfgETFrXO8WRuRgG7urSnguLYC0F
 4usgqDmTB2SWGTQBpQ0GkSNHcAieo/A3PfExSvLw1BJkB6EodW9Qm/E2KCRT9DwD
 YrMZqLzwArYUhDgPAnBBbnYnQyBLfqrqjXZ+wB45VSHzdMb35NAlgJTvtdskPFiX
 EPmaRJZtr22tl5qEPlIHmUkfxS2p6WgM9FtTygmFqY9na+B3t2IHm4px8oPc03Ol
 l100INJ+JJ+iyQG2EVVemY0wLYQtd5yik5ezPqWl+CY8OEdpPGvaertDI7FeZ87A
 Ihae2Jb7opXOzDYKHM/HdsV8ciBsSeNmOY0lKVWx2b1LSBHnpVZSFqZ/iB0dTUu5
 T/LxMZOGLiUHZUpDgCSd
 =J2U6
 -----END PGP SIGNATURE-----

 --inPBxQAEC42AM40Jnn1LKsXe6MehWND2H--

State-Changed-From-To: open->needs-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Mon, 09 Sep 2024 11:30:52 +0000
State-Changed-Why:
fixed in HEAD, needs pullup-10, pullup-9


From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52343 CVS commit: src
Date: Mon, 9 Sep 2024 11:30:06 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Mon Sep  9 11:30:06 UTC 2024

 Modified Files:
 	src/distrib/sets/lists/comp: mi
 	src/lib/libc/locale: Makefile.inc mbsrtowcs.3 wcsrtombs.3

 Log Message:
 mbsnrtowcs(3), wcsnrtombs(3): Add man pages for these mouthfuls.

 Based on patch drafted by abhinav@, with a little additional tidying
 by me.

 PR standards/52343: wcsnrtombs missing man-page


 To generate a diff of this commit:
 cvs rdiff -u -r1.2472 -r1.2473 src/distrib/sets/lists/comp/mi
 cvs rdiff -u -r1.67 -r1.68 src/lib/libc/locale/Makefile.inc
 cvs rdiff -u -r1.12 -r1.13 src/lib/libc/locale/mbsrtowcs.3
 cvs rdiff -u -r1.13 -r1.14 src/lib/libc/locale/wcsrtombs.3

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Fri, 11 Oct 2024 15:20:51 +0000
State-Changed-Why:
pullup-10 #947 https://releng.netbsd.org/cgi-bin/req-10.cgi?show=947
pullup-9 #1897 https://releng.netbsd.org/cgi-bin/req-9.cgi?show=1897


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52343 CVS commit: [netbsd-10] src
Date: Fri, 11 Oct 2024 17:34:01 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Oct 11 17:34:01 UTC 2024

 Modified Files:
 	src/distrib/sets/lists/comp [netbsd-10]: mi
 	src/lib/libc/locale [netbsd-10]: Makefile.inc mbsrtowcs.3 wcsrtombs.3

 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #947):

 	lib/libc/locale/mbsrtowcs.3: revision 1.14
 	lib/libc/locale/mbsrtowcs.3: revision 1.15
 	lib/libc/locale/wcsrtombs.3: revision 1.14
 	lib/libc/locale/wcsrtombs.3: revision 1.15
 	lib/libc/locale/wcsrtombs.3: revision 1.16
 	distrib/sets/lists/comp/mi: revision 1.2473
 	lib/libc/locale/Makefile.inc: revision 1.68
 	lib/libc/locale/mbsrtowcs.3: revision 1.13

 mbsnrtowcs(3), wcsnrtombs(3): Add man pages for these mouthfuls.

 Based on patch drafted by abhinav@, with a little additional tidying
 by me.

 PR standards/52343: wcsnrtombs missing man-page

 mbsnrtowcs(3), wcsnrtombs(3): brush ip markup

 SYNOPSIS fixes, uppercase NUL and NULL


 To generate a diff of this commit:
 cvs rdiff -u -r1.2425.2.9 -r1.2425.2.10 src/distrib/sets/lists/comp/mi
 cvs rdiff -u -r1.65 -r1.65.6.1 src/lib/libc/locale/Makefile.inc
 cvs rdiff -u -r1.12 -r1.12.56.1 src/lib/libc/locale/mbsrtowcs.3
 cvs rdiff -u -r1.13 -r1.13.56.1 src/lib/libc/locale/wcsrtombs.3

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52343 CVS commit: [netbsd-9] src
Date: Fri, 11 Oct 2024 17:35:47 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Fri Oct 11 17:35:47 UTC 2024

 Modified Files:
 	src/distrib/sets/lists/comp [netbsd-9]: mi
 	src/lib/libc/locale [netbsd-9]: Makefile.inc mbsrtowcs.3 wcsrtombs.3

 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1897):

 	lib/libc/locale/mbsrtowcs.3: revision 1.14
 	lib/libc/locale/mbsrtowcs.3: revision 1.15
 	lib/libc/locale/wcsrtombs.3: revision 1.14
 	lib/libc/locale/wcsrtombs.3: revision 1.15
 	lib/libc/locale/wcsrtombs.3: revision 1.16
 	distrib/sets/lists/comp/mi: revision 1.2473
 	lib/libc/locale/Makefile.inc: revision 1.68
 	lib/libc/locale/mbsrtowcs.3: revision 1.13

 mbsnrtowcs(3), wcsnrtombs(3): Add man pages for these mouthfuls.

 Based on patch drafted by abhinav@, with a little additional tidying
 by me.

 PR standards/52343: wcsnrtombs missing man-page

 mbsnrtowcs(3), wcsnrtombs(3): brush ip markup

 SYNOPSIS fixes, uppercase NUL and NULL


 To generate a diff of this commit:
 cvs rdiff -u -r1.2278.2.8 -r1.2278.2.9 src/distrib/sets/lists/comp/mi
 cvs rdiff -u -r1.64 -r1.64.28.1 src/lib/libc/locale/Makefile.inc
 cvs rdiff -u -r1.12 -r1.12.48.1 src/lib/libc/locale/mbsrtowcs.3
 cvs rdiff -u -r1.13 -r1.13.48.1 src/lib/libc/locale/wcsrtombs.3

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Fri, 11 Oct 2024 17:53:05 +0000
State-Changed-Why:
fixed in HEAD, pulled up to 9 and 10


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.