NetBSD Problem Report #59145

From www@netbsd.org  Thu Mar  6 13:48:24 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 664151A9239
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 Mar 2025 13:48:24 +0000 (UTC)
Message-Id: <20250306134823.4511D1A923C@mollari.NetBSD.org>
Date: Thu,  6 Mar 2025 13:48:23 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: POSIX.1-2024: various functions removed
X-Send-Pr-Version: www-1.0

>Number:         59145
>Category:       lib
>Synopsis:       POSIX.1-2024: various functions removed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 13:50:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, ...
>Organization:
The NetBSD Pobscolescix
>Environment:
>Description:
POSIX.1-2024 removes the following functions.  Those that we still have should be excluded from being declared in header files under the appropriate conditions, which may require some thought to figure out -- something like _POSIX_C_SOURCE - 0 >= 202405L, but not _NETBSD_SOURCE or something.

_longjmp()
_setjmp()
_tolower()
_toupper()
fattach()
fdetach()
ftw()
getitimer()
getmsg()
getpmsg()
gets()
gettimeofday()
ioctl()
isascii()
isastream()
posix_trace_*()
 pthread_getconcurrency()
pthread_setconcurrency()
putmsg()
putpmsg()
rand_r()
setitimer()
setpgrp()
sighold()
sigignore()
siginterrupt()
sigpause()
sigrelse()
sigset()
tempnam()
toascii()
ulimit()
utime()
>How-To-Repeat:
standards inspection

https://pubs.opengroup.org/onlinepubs/9799919799/xrat/V4_xsh_chap01.html
>Fix:
Yes, please!

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-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.