From nobody Sun Oct 01 01:33:30 2023 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 4RymnQ6txRz4w65c for ; Sun, 1 Oct 2023 01:33:30 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RymnQ3p2dz4Qvf for ; Sun, 1 Oct 2023 01:33:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696124010; a=rsa-sha256; cv=none; b=xZZQp+Q3WK2uWIZZs384Pxp9NwG6jqgU46gBMRjnoXJY73EXodbGJS/yMQmAmr9uMWaGZD t2lTrY1ox8G8W46G5QH3wCAHOTfl5bb8NxE3nEXOHYGJjQB5CMHlH/xzayCpTKw3ah7aSm 9MnycspUrHDRiWaNkzvXDaw+OFlLp48eze3Kpz5EEGYxLye59E1wONLf8MxdOZs0axD4TO 0idsxwiou7i1I/dnJHkJiyQEJN6eEHtLycCpzzt3YXpq6swTJBP1yZJaBjQk/jZQrWqIMC vJySAphXTsM4gPq/4buqlBYuQeIe8uXT6bKnD6AsMDC7YgoeAP6NtOuZwk/Ntg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696124010; 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=Q6ocH2uMqebpYYOJUWeluGJ2xhjf4kdrYfzw3GxG/0g=; b=NzHY4p+z+AdTcV9f91pyXbgNJressMp0n8KKVIMwM18SuvLk231IRQ1agzUKqIRsLJEUQF TCPhIksGwSPy7kHrrU6J/eGxk8HPksCbHo+Cu6E0ygy2zbxLE4j6hBKnSVHsi0zC9HHw3F 1LsMhMzprqoByBu+hzj2vCns7cydHlZJXxthYHhaWApEngyGbElZDN9xLnueBm0rcfZXMJ /Jc2wuBwlbIg6XFneJ4ZcDNO4yJESwO4WEEvKaILOSrgaYGPbbLlNHhumcHrMzVxah46yB 9iSggYtFxIYsZGucRWM0wZ5Ead3RRAuLxRe2uPHoNs1sMa3ItyWL6Iv8DGSSig== 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 4RymnQ2sKBz190Y for ; Sun, 1 Oct 2023 01:33:30 +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 3911XUX8058512 for ; Sun, 1 Oct 2023 01:33:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3911XUPY058511 for doc@FreeBSD.org; Sun, 1 Oct 2023 01:33:30 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: doc@FreeBSD.org Subject: [Bug 274189] [PATCH] stat(1) EXAMPLES use of st_mtimespec is incorrect since v1.10 Date: Sun, 01 Oct 2023 01:33:30 +0000 X-Bugzilla-Reason: CC 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: mirror176@hotmail.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-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=3D274189 Bug ID: 274189 Summary: [PATCH] stat(1) EXAMPLES use of st_mtimespec is incorrect since v1.10 Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: mirror176@hotmail.com CC: doc@FreeBSD.org Created attachment 245346 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245346&action= =3Dedit Replace timespec with time in usr.bin/stat/stat.1 stat(1) EXAMPLES makes use of st_mtimespec which is not created by -s as the example implies so it fails. st_mtime is included in the output when running `stat -s filename` under both csh and sh but st_mtimespec is not. The following would be a fix to the manpage to be functional for examples. I also changed the last occurrence of timespec as I don't think it would make sense if that is not the actual field but it could be left if it is desired. After editing I noticed code seems labeled as coming from NetBSD; it seems = they have the change in the examples area (last edits of my patch) but not the o= ther format area (first edit). They have the tool and manpage on v1.46 instead of our v1.28 and I did not look things over further than comparing these speci= fic edits. It appears that the NetBSD manpage was fixed in v1.15 in 2005 to match the v1.10 program alteration in 2003 saying they changed it because that's what= the fields really are. --=20 You are receiving this mail because: You are on the CC list for the bug.=