Page MenuHomeFreeBSD

stdbuf: Code cleanup.
ClosedPublic

Authored by des on Jun 29 2023, 3:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 28, 7:38 PM
Unknown Object (File)
Feb 25 2026, 12:11 PM
Unknown Object (File)
Feb 25 2026, 3:15 AM
Unknown Object (File)
Feb 16 2026, 8:23 AM
Unknown Object (File)
Feb 11 2026, 1:59 AM
Unknown Object (File)
Feb 10 2026, 8:50 AM
Unknown Object (File)
Feb 9 2026, 5:23 PM
Unknown Object (File)
Feb 7 2026, 11:43 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 52334
Build 49225: 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
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.