From nobody Sun Oct 27 16:44:10 2024 X-Original-To: doc@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 4Xc2RG3HgYz5bCRH 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 4Xc2RG0hSvz4TSl for ; Sun, 27 Oct 2024 16:44:10 +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=1730047450; 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=ogYE/+nYp0ycWNkDMpUVDZe3evay65tWcJxJPdA43c8=; b=GFs1dcF+OnnbAm6g6UbVSO5NM+a7DOzkdriX3aYmWIhs4hQi8OaqO+/EzXMNs10N6ggMyP UQs5u+Eb1U1W6ysoIqnZptRmKrMEtOu8HZ0JDWXusFLO/8ELNTS+c180U46pff9p68dW33 OamL8V6VGUFJCL4EWe2dNs/7u85M497tsTdtTk4a6bTXlH5yfRmImN9A/NoASwyMnjiS9l zb6E8N/TJC00RhNadWq8vh7Jz9mhRUbNliIQEGcn6s5A/M8y9xqW8Vw9I8GesFrnwldkDs WmV1kim/5Wsqts+Ys2i5o70imjhhdXKxYXCejpU8XkpvL1QDkTzSgfibCiDczQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730047450; a=rsa-sha256; cv=none; b=nvOErNbM5XGlMwfzJ4WphHWNo18ZkZgPzAua1bDYyWeB6uVYAilti1ttObELHttAbROaOh K/ZnrgCim8sESByFJ6B0O4PUtPq2z48bfNCzgeNTDe83SswZ4zywKDRHFW6C42f10C1Ddb 5snejA1xKY6EgNYDPv0WXPM18Somhc6QpvhAFRMqlRTYlVVzpLf9JIjCMPnC83M9qZCQl7 RrLYrRsSqohgNJa+IkGZyTtFH/LoWRjAujAmJrX/g4N5l4j6/3A6voj8W97PqXJmoTLA01 jy72Z+IR9OTS8HBzJicv4fYStuYx5zKMH1bl2rdBmSo3vVKVMcDm1nEwJ53xJw== 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 4Xc2RG0BSqz12l8 for ; Sun, 27 Oct 2024 16:44:10 +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 49RGi9LN055788 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 49RGi91a055787 for doc@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: doc@FreeBSD.org Subject: [Bug 261437] outdated mktemp(1) examples Date: Sun, 27 Oct 2024 16:44:10 +0000 X-Bugzilla-Reason: CC 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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@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 on the CC list for the bug.=