Page MenuHomeFreeBSD

Add libxo(3) support to last(1).
ClosedPublic

Authored by philip on Aug 27 2018, 4:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 3:46 AM
Unknown Object (File)
Tue, Oct 14, 3:02 AM
Unknown Object (File)
Mon, Oct 13, 1:00 PM
Unknown Object (File)
Mon, Oct 6, 1:25 AM
Unknown Object (File)
Sun, Sep 28, 3:13 AM
Unknown Object (File)
Wed, Sep 17, 7:34 PM
Unknown Object (File)
Sep 16 2025, 6:44 AM
Unknown Object (File)
Aug 30 2025, 7:35 AM
Subscribers

Details

Reviewers
kp
Group Reviewers
manpages
Commits
rS338352: Add libxo(3) support to last(1).
Summary

Adds libxo(3) support to last(1).

Test Plan
  • Diff confirms that output without --libxo is unchanged
  • Output with --libxo looks sane

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp added a subscriber: kp.
kp added inline comments.
usr.bin/last/last.c
121 ↗(On Diff #47351)

I wonder if it's worth putting this in an atexit(3) callback. There are at least 4 calls to xo_finish() spread around the code, and it's easy to forget one, now or later if more are added.

This revision is now accepted and ready to land.Aug 28 2018, 1:14 PM
  • last: use xo_finish_atexit wrapper
This revision now requires review to proceed.Aug 28 2018, 4:34 PM
This revision is now accepted and ready to land.Aug 28 2018, 4:42 PM
This revision was automatically updated to reflect the committed changes.