From nobody Sun Oct 27 16:44:10 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xc2RG3Dm5z5bChd for ; Sun, 27 Oct 2024 16:44:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xc2RF6kwSz4TLL for ; Sun, 27 Oct 2024 16:44:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730047449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uC06gORc7ZhkuwCthW3IFiO5ctoPMFnyp0mXEsd0GxM=; b=Z2MXKaVfIQ9RA3ATryhYIewHpSx3YfSQdaje28f068x8luQKJlVyqkW1enGS27SCAdRRPI VkT1joM3ecvG1vsyCltLlKkgXQAzPSy9GZP7Ty0r4Y7m8rLhx68c9hYaxDVVE9y3NBJoNJ Rz6TR9+iGqzeJz9ehJ89NmiTEM7XWtF6Yaxd2fN01Xvc5mOc1Fas3hO1aGUew8Wgy/CeuT YYzsTlTYxbsUaHseQ4Z2Kdhhk+VMyptUUOwB7/t93vk+ttHm+Cp4fygZFq/0PpHp3g+tkb P6vCuNf/ZWm+/H+Nr5EOTvabYAdD0hFENDa48Ht66JwM8pvU77TQdBYSzI/48w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730047449; a=rsa-sha256; cv=none; b=qobVlAQ1X8q/MxSO2MgciU4OVuzG5WQ9xVes9EVPrjPXifaKdB8gTh7j1YJP3/WXds5wCz 3MiSlNuAXgatvXltZuzwFMZN8ycd926ELcwN/xVLwXO80cfdWH0Eh179WzOCEbosF+a4ij Nq3iSUVcykxfW5bux6NXtR8OhvHq3Pu8WbBAL5asHJPDzlWhafuAxNe75/8f/ko11+7tbs jvad9VF4aF6ZszCaFQ0OUgwhB2RP6mwXHACa2Vvw6yJF8fdvL/PUFVvSBXHC7UyxJ2LM8l igayCOFmF0rmIkKSZq3cpyn8HNXjayoJaoAtwHeaBB1TdPojLi2NwS7d3YifKA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xc2RF6MDqz12QY for ; Sun, 27 Oct 2024 16:44:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49RGi9ki055784 for ; Sun, 27 Oct 2024 16:44:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49RGi9X4055783 for bugs@FreeBSD.org; Sun, 27 Oct 2024 16:44:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261437] outdated mktemp(1) examples Date: Sun, 27 Oct 2024 16:44:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261437 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D95b17d3b1c5187d2630556eaa0f210737= 8ca3b4f commit 95b17d3b1c5187d2630556eaa0f2107378ca3b4f Author: Wolfram Schneider AuthorDate: 2024-10-27 16:41:01 +0000 Commit: Wolfram Schneider CommitDate: 2024-10-27 16:41:01 +0000 mktemp(3): bring the documentation up to date with best practice Using short temp filenames as /tmp/temp.XXXX (4 or 6 X) was probably ok 20 years ago, but not anymore. Best practice is to use 10 X. Given that= our users often copy & paste examples from our manual pages we need to update the documentation. PR: 261437 lib/libc/stdio/mktemp.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=