Page MenuHomeFreeBSD

stdbuf: Code cleanup.
ClosedPublic

Authored by des on Jun 29 2023, 3:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 7:25 AM
Unknown Object (File)
Mon, Oct 13, 7:24 AM
Unknown Object (File)
Mon, Oct 13, 7:24 AM
Unknown Object (File)
Mon, Oct 13, 7:24 AM
Unknown Object (File)
Mon, Oct 13, 7:24 AM
Unknown Object (File)
Sun, Oct 12, 7:12 PM
Unknown Object (File)
Wed, Oct 1, 1:20 AM
Unknown Object (File)
Sun, Sep 28, 7:26 AM
Subscribers

Details

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

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.