Page MenuHomeFreeBSD

Convert ls(1) to not use libxo(3).
ClosedPublic

Authored by cem on Jan 17 2018, 8:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 6, 5:06 PM
Unknown Object (File)
Mar 31 2024, 7:56 AM
Unknown Object (File)
Mar 11 2024, 4:48 PM
Unknown Object (File)
Mar 8 2024, 2:46 AM
Unknown Object (File)
Mar 8 2024, 2:42 AM
Unknown Object (File)
Mar 8 2024, 2:28 AM
Unknown Object (File)
Feb 13 2024, 1:37 AM
Unknown Object (File)
Jan 13 2024, 4:42 PM
Subscribers
None

Details

Summary

libxo imposes a large burden on system utilities. In the case of ls, that
burden is difficult to justify -- any language that can interact with json
output can use readdir(3) and stat(2).

Logically revert r291607, r285857, r285803, r285734, r285425, r284494, r284489,
r284252, and r284198.

Test Plan
$ id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)
$ kyua test
...
35/35 passed (0 failed)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14447
Build 14594: arc lint + arc unit

Event Timeline

My only regret is that phab won't let me click accept twice.

This revision is now accepted and ready to land.Jan 17 2018, 10:34 PM
This revision was automatically updated to reflect the committed changes.