Page MenuHomeFreeBSD

stdbuf: Code cleanup.
ClosedPublic

Authored by des on Jun 29 2023, 3:17 PM.
Tags
None
Referenced Files
F174716255: D40799.id123988.diff
Mon, Oct 5, 10:56 AM
F174716228: D40799.id123988.diff
Mon, Oct 5, 10:55 AM
F174714863: D40799.diff
Mon, Oct 5, 10:39 AM
F174714667: D40799.id123987.diff
Mon, Oct 5, 10:37 AM
F174714593: D40799.id123986.diff
Mon, Oct 5, 10:36 AM
Unknown Object (File)
Tue, Sep 22, 11:23 PM
Unknown Object (File)
Tue, Sep 22, 11:08 PM
Unknown Object (File)
Tue, Sep 22, 11:07 PM
Subscribers

Details

Summary
  • Factor out path-setting code.
  • Normalize usage().

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52335
Build 49226: arc lint + arc unit

Event Timeline

des requested review of this revision.Jun 29 2023, 3:17 PM
kevans added a subscriber: kevans.
kevans added inline comments.
usr.bin/stdbuf/stdbuf.c
84–85

I'd probably drop this and just let it fall into the default cause, no need to be verbose here.

This revision is now accepted and ready to land.Jun 29 2023, 3:26 PM
This revision now requires review to proceed.Jun 29 2023, 3:26 PM
des marked an inline comment as done.Jun 29 2023, 3:28 PM
This revision is now accepted and ready to land.Jun 29 2023, 3:28 PM
This revision was automatically updated to reflect the committed changes.