NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/58802 CVS commit: src



The following reply was made to PR lib/58802; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58802 CVS commit: src
Date: Fri, 1 Nov 2024 18:35:12 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri Nov  1 18:35:12 UTC 2024
 
 Modified Files:
 	src/include: strings.h
 	src/lib/libc/string: Makefile.inc
 	src/tests/include/sys: Makefile t_bitops.c
 Added Files:
 	src/common/lib/libc/string: ffsl.c ffsll.c
 
 Log Message:
 strings.h: Spruce up for POSIX 2024.
 
 1. Add ffsl, ffsll.
 2. Hide bcmp, bcopy, bzero, index, rindex for POSIX>=2024.
 3. Expose ffs only for NetBSD or POSIX>=2008 with XSI option.
 4. Hide popcount* NetBSD extensions for any POSIX.
 5. Sprinkle __constfunc on ffs*.
 
 Add tests for ffs/ffsl/ffsll in tests/include/sys/t_bitops next to
 ffs32/ffs64 for convenience.
 
 XXX Still missing strcasecmp_l, strncasecmp_l, and locale_t.
 
 PR lib/58802: missing ffsl(), ffsll() functions from POSIX 2024
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r0 -r1.1 src/common/lib/libc/string/ffsl.c \
     src/common/lib/libc/string/ffsll.c
 cvs rdiff -u -r1.18 -r1.19 src/include/strings.h
 cvs rdiff -u -r1.90 -r1.91 src/lib/libc/string/Makefile.inc
 cvs rdiff -u -r1.16 -r1.17 src/tests/include/sys/Makefile
 cvs rdiff -u -r1.21 -r1.22 src/tests/include/sys/t_bitops.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index