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)
Fri, Dec 13, 8:06 AM
Unknown Object (File)
Nov 25 2024, 12:45 AM
Unknown Object (File)
Nov 24 2024, 11:10 AM
Unknown Object (File)
Nov 22 2024, 7:23 PM
Unknown Object (File)
Nov 22 2024, 2:34 PM
Unknown Object (File)
Nov 19 2024, 11:53 PM
Unknown Object (File)
Nov 19 2024, 1:16 AM
Unknown Object (File)
Nov 17 2024, 4:17 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

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.