NetBSD Problem Report #59850
From www@netbsd.org Sun Dec 21 00:34:26 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) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id BB5121A9239
for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Dec 2025 00:34:25 +0000 (UTC)
Message-Id: <20251221003424.9D8711A923A@mollari.NetBSD.org>
Date: Sun, 21 Dec 2025 00:34:24 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: manual pages proplib code examples refer to deprecated functions
X-Send-Pr-Version: www-1.0
>Number: 59850
>Category: lib
>Synopsis: manual pages proplib code examples refer to deprecated functions
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 21 00:35:00 +0000 2025
>Originator: coypu
>Release: NetBSD 11 BETA
>Organization:
>Environment:
NetBSD 11.0_BETA NetBSD 11.0_BETA (GENERIC) #0: Mon Oct 20 14:11:07 UTC 2025 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Try to follow manual page example from "man envsys", get deprecated function warning:
main.c:(.text+0xaa): warning: this program uses prop_string_create_cstring_nocopy(), which is deprecated; use prop_string_create_nocopy() instead.
there seem to be other references to this function in other manual pages too.
>How-To-Repeat:
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.