Skip to content

Fix #461, set stdout to unbuffered on pc-linux#462

Merged
dzbaker merged 1 commit intonasa:mainfrom
jphickey:fix-461-unbuffered-stdout
Nov 14, 2025
Merged

Fix #461, set stdout to unbuffered on pc-linux#462
dzbaker merged 1 commit intonasa:mainfrom
jphickey:fix-461-unbuffered-stdout

Conversation

@jphickey
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Sets standard output to be unbuffered on linux

Testing performed
Run CFS with standard output sent to a pipe, and confirm messages now appear in the same order in which they are generated.

Expected behavior changes
Messages appear in correct order

System(s) tested on
Debian

Additional context
This done unconditionally, thus it will be unbuffered on terminals as well as file/pipe output. This should be fine, as stdout is only used for a handful of early messages, and it is generally not a good idea to mix different buffering strategies. With this, the only buffering is done by OSAL as part of its OS_printf() function.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Sep 30, 2025
@dzbaker dzbaker added CCB:Approved Indicates Approval by CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Nov 3, 2025
dzbaker added a commit to nasa/cFS that referenced this pull request Nov 14, 2025
*Combines:*

cFE equuleus-rc1+dev259
psp equuleus-rc1+dev77

**Includes:**

*cFE*
- nasa/cFE#2666
- nasa/cFE#2667

*osal*

*PSP*
- nasa/PSP#462

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
@dzbaker dzbaker mentioned this pull request Nov 14, 2025
2 tasks
@dzbaker dzbaker merged commit a293b86 into nasa:main Nov 14, 2025
10 checks passed
dzbaker added a commit to nasa/cFS that referenced this pull request Nov 14, 2025
*Combines:*

cFE equuleus-rc1+dev259
psp equuleus-rc1+dev77

**Includes:**

*cFE*
- nasa/cFE#2666
- nasa/cFE#2667

*osal*

*PSP*
- nasa/PSP#462

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
Co-authored by: Ariel Walker <arielswalker@users.noreply.github.com>
@dzbaker dzbaker added this to the v7.0.0 milestone Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CCB:Approved Indicates Approval by CCB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants