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)
Thu, Sep 3, 5:14 PM
Unknown Object (File)
Fri, Aug 21, 12:10 AM
Unknown Object (File)
Mon, Aug 10, 7:36 PM
Unknown Object (File)
Mon, Aug 10, 7:36 PM
Unknown Object (File)
Mon, Aug 10, 7:36 PM
Unknown Object (File)
Sat, Aug 8, 3:33 AM
Unknown Object (File)
Aug 5 2026, 2:32 AM
Unknown Object (File)
Jun 23 2026, 1:32 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.