Page MenuHomeFreeBSD

Correct ls -l test to use mtime, not birthtime
ClosedPublic

Authored by emaste on Oct 30 2015, 7:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 7 2024, 8:48 PM
Unknown Object (File)
Dec 28 2023, 4:44 AM
Unknown Object (File)
Dec 28 2023, 4:43 AM
Unknown Object (File)
Dec 22 2023, 9:15 PM
Unknown Object (File)
Nov 2 2023, 7:00 PM
Unknown Object (File)
Oct 20 2023, 3:43 AM
Unknown Object (File)
Oct 19 2023, 3:57 AM
Unknown Object (File)
Oct 18 2023, 11:22 AM
Subscribers
None

Details

Summary

ls -l shows the file's mtime, not birthtime. Use the correct time from stat.

https://bugs.freebsd.org/204155

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to Correct ls -l test to use mtime, not birthtime.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a reviewer: ngie.
rodrigc added a reviewer: rodrigc.
rodrigc edited edge metadata.
This revision is now accepted and ready to land.Oct 30 2015, 7:42 PM
ngie edited edge metadata.

Thanks for fixing this!

This revision was automatically updated to reflect the committed changes.