From nobody Fri Oct 3 15:08:57 2025 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 4cdXB20ZxTz6B0ZF for ; Fri, 03 Oct 2025 15:08:58 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cdXB166bFz3vb7 for ; Fri, 03 Oct 2025 15:08:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759504137; 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; bh=KtHtr1dgGfETPZAfZCvhYb5EyzAycDLdJzVz2tElIL0=; b=lLA0iYtMXRktQxLXioYb83taMb27QtIlLQi7e7IGArfTlt525ab/0P0a5S34KAvIPOALvd nswOlMYYKp6m1WaPpGUnFuhT1LFe7W7CbNfJ14c8/I27FzU8e8z21gsHGhNo1zJntKmGjf e8GeFnLX4d1i2KkuE2CvW1RamAUZ7OhF4GUqu7nJHgPbuow0I2mH4aVVMNlqTU7Hjeh6oR wANHUrVJbR2y4ZZR/di5F0EpYopNuL6sMfvmAnw4JvayhrIoypBOxKkQyoIl7zDMm+r56p JshWYcbtQFgwsOvQ8qELrYpu13x5VReV1pzU89f10ct0VR0uo3xYKjtOtIGh/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759504137; 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; bh=KtHtr1dgGfETPZAfZCvhYb5EyzAycDLdJzVz2tElIL0=; b=YM36TuCMVD+61u3lxklgxX0JgapETIkSBAcQBHd9ufwY0zbBh6n7hiwMOnv6EUlqflLByn 9WRYBIc1bmyuCuWQdQkRdBI+ddeYgfOMIZwNZDSPdMJXaMV043QioMM3zOapAdeyGFPnbv R2U4bjn4Hihif/zr2eBYdkMYlcj9OVgyNWJqSaLNO5vQLfsNsi9wUFU7WBb5U1wj4DNay8 SU364j9jv6e29GJW/5ha523K46MoJ9kgwsapTEEJeBb4hAYvWzpb2RKnKtJyKJpks9Izpb LLoXVnyuV1QNKQkLwKfLRT/EbOHGzClA8nIPgfYKTC74y2dKTCbShrecxHIqCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759504137; a=rsa-sha256; cv=none; b=L+EFRZ+lO03iheTkR1y4JgswAJINYLYTIVA5sjj/6BCfeOQBPLLFeum6HmVZsMQMuavA/X eibZsgb5e+9exgX2M47v29LQw1zt9SzLfqHBxHOqA2XnN6CATjYBvfXNIvPMt9KxfiezWc 6qO7STa40qR/eESho4xDPZvaGm5hczoDorUHugBPJ+l6z/hepRyaYfXsxGYsyNJ+XG8jAo kmDsELCvTe6s9oeylgjcjefGwNhV7Us12X61hJ+eRVICBKG5lvVVtXMrykncfEmIV2lWPZ /CAzjAg0ur/uk13BZA2RVMStzsvXu/qrYKihNqXDTJoBpC0RFWcl2PiGBMf98A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cdXB14mKHz10Z2 for ; Fri, 03 Oct 2025 15:08:57 +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 593F8vB9065674 for ; Fri, 3 Oct 2025 15:08:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 593F8vts065673 for bugs@FreeBSD.org; Fri, 3 Oct 2025 15:08:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289980] mail(1) man page FILES mentions /tmp/R* but code (mostly) uses /tmp/mail.R* Date: Fri, 03 Oct 2025 15:08:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: freebsd@tim.thechases.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D289980 Bug ID: 289980 Summary: mail(1) man page FILES mentions /tmp/R* but code (mostly) uses /tmp/mail.R* Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: freebsd@tim.thechases.com CC: doc@FreeBSD.org Created attachment 264266 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D264266&action= =3Dedit Should adjust the man-page and malformed mkstemp template strings Hopefully a really easy doc fix, and possibly a little code-tweaking to bri= ng mkstemp() templates into alignment $ man mail | ul -t dumb | sed -n '/^FILES/,/Temporary/p' | sed -n '1p;$p' FILES /tmp/R* Temporary files. Checking the source code: $ cd /usr/src/usr.bin/mail $ fgrep -B1 mkstemp *.c | grep XXX turns up that most of them use "%s/mail.R*" instead of "%s/R*". There are = also a couple that just use "%s/mail.*" and one that uses "%s/mbox.*" which might need to be brought into alignment with the man-pages and use "%s/mail.R*" t= oo. --=20 You are receiving this mail because: You are the assignee for the bug.=