Page MenuHomeFreeBSD

diff: Show nanoseconds in -u/-c header line.
ClosedPublic

Authored by jilles on Mar 26 2017, 3:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 14, 10:38 PM
Unknown Object (File)
Nov 22 2025, 12:25 AM
Unknown Object (File)
Nov 21 2025, 2:14 AM
Unknown Object (File)
Nov 21 2025, 2:12 AM
Unknown Object (File)
Nov 21 2025, 2:12 AM
Unknown Object (File)
Nov 21 2025, 2:09 AM
Unknown Object (File)
Nov 16 2025, 5:25 PM
Unknown Object (File)
Oct 26 2025, 9:46 AM
Subscribers

Details

Summary

Show nanoseconds in the -u/-c header line.

The present portability conditionals cannot handle the POSIX standard
st_mtim, so remove them and unconditionally use st_mtim.

PR: 218018

Test Plan

A new test case is included.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningusr.bin/diff/tests/diff_test.sh:CHMOD1Invalid Executable
Unit
No Test Coverage
Build Status
Buildable 8299
Build 8549: CI src buildJenkins
Build 8548: arc lint + arc unit