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)
Mar 19 2024, 5:28 PM
Unknown Object (File)
Mar 7 2024, 8:31 PM
Unknown Object (File)
Jan 30 2024, 6:22 PM
Unknown Object (File)
Jan 5 2024, 2:36 AM
Unknown Object (File)
Dec 23 2023, 11:36 AM
Unknown Object (File)
Dec 20 2023, 2:04 AM
Unknown Object (File)
Oct 31 2023, 1:38 PM
Unknown Object (File)
Sep 14 2023, 7:25 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.