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)
Mon, Sep 21, 10:25 AM
Unknown Object (File)
Fri, Sep 18, 9:01 PM
Unknown Object (File)
Fri, Sep 18, 8:09 PM
Unknown Object (File)
Fri, Sep 18, 5:47 PM
Unknown Object (File)
Thu, Sep 3, 5:14 PM
Unknown Object (File)
Aug 21 2026, 12:10 AM
Unknown Object (File)
Aug 10 2026, 7:36 PM
Unknown Object (File)
Aug 10 2026, 7:36 PM
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.