libXO-ification - Why - and is it a symptom of deeper issues?

Luigi Rizzo rizzo at iet.unipi.it
Wed Nov 18 20:46:34 UTC 2015


On Wed, Nov 18, 2015 at 11:32 AM, Lars Engels <lars.engels at 0x20.net> wrote:
> On Sun, Nov 15, 2015 at 01:14:57PM -0500, Allan Jude wrote:
>> You can setup an atexit() call to call xo_finish automatically when the
>> program exits. The original changes to uptime had a few other issues,
>> which I fixed.
>>
>
> Is there a list of tools that can already output via libxo? Neither
> "uptime -h", nor its manpage or "apropros libxo" doesn't reveal
> anything.

i was going to suggest doing ldd on the binaries or a grep on the
Makefile but the latter returns a surprisingly low number
of matches.


> grep lxo */*/Makefile*
rescue/rescue/Makefile:CRUNCH_LIBS+= -lcrypt -ledit -ljail -lkvm -ll
-ltermcapw -lutil -lxo
tools/bsdbox/Makefile:CRUNCH_SHLIBS+= -lc -lutil -lcrypt -lxo -lgpio
perhaps

cheers
luigi


More information about the freebsd-current mailing list