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, Dec 8, 11:10 AM
Unknown Object (File)
Fri, Nov 21, 12:58 AM
Unknown Object (File)
Fri, Nov 21, 12:56 AM
Unknown Object (File)
Fri, Nov 21, 12:48 AM
Unknown Object (File)
Fri, Nov 21, 12:46 AM
Unknown Object (File)
Sat, Nov 15, 10:01 PM
Unknown Object (File)
Nov 13 2025, 5:18 AM
Unknown Object (File)
Nov 2 2025, 2:21 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

Lint
Lint Skipped
Unit
Tests Skipped

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.