From nobody Sun Oct 01 01:33:30 2023 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 4RymnQ6tCYz4w5gT 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 4RymnQ3695z4QdD 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=T7CbfIE3ZhgHG+LsHnpH9PPu08XsmbWVc3aBnKhSUHBg2CekGrYWPlBOu4q3doNJtnkZuZ rCOzqzJQEbMs+pzv3K68xlv6lt31r5hfzRisWdjI9eMd3OCN1rwXIhxXkkVI9ZwqA98AeE bdSxBIOq6vRWGDJOrBHZVFw/VEwmMu0+Cw1jBpFIYhOjBMIBrdf0aD+u3/tPtzbReHdTvY xHzzBDTibJixnI5EnRHsCJAAX7HWQVXa7PlaBQbtDUE6DecOw7uAzpmCvgUJK5PRrQSwLQ mVl+xCwfbV648JnulNWr7PZ/S+0j24lOH/3fkzrEzpSS2kX0J25klKbSYdue0w== 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=c/MbXrxyDBZAywVJrWrPDmOzQPmOmJ3nj2j/HjbQKPc=; b=QW0nC2R9T/abyhYB5UJzbV1fwTsSwkb9Jbj4QVjK5vYoPOrO9kFW9/hQzFqUN42uwxPFOz mJDm+uFHXZiBvMkGPo79Iz0HswQOcTT3rqXTJhXzBYkliwS3awEyfWY1mllSU5mBDlbmcG fDr6gP+7oo0v1cgCOWd5FJGlfpCAb+Pc3B+T3iU4FS+6zEQZkSH7jXuy14PKoAgoXXSK9S 4pZ1+nyQu3ERs3Msv8fN5nAgBELblztBGCOZtCHfJbZe2kBlAhuPZlHir6CjtOo+m7a63a IH9cAn3QIE7qu49X4njfwyH9XYbkDmJpU6YbRjBg0hgJLTN86e2xSHX4ShV6QQ== 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 4RymnQ29sxz18vm 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 3911XUZj058508 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 3911XU6X058507 for bugs@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: bugs@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: 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: 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: 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=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 the assignee for the bug.=