Skip to content

Add fflush(stdout) protection of DEBUG_COMPONENT (fix #2486)#2487

Merged
willend merged 1 commit into
mccode-dev:mainfrom
willend:main
Jun 3, 2026
Merged

Add fflush(stdout) protection of DEBUG_COMPONENT (fix #2486)#2487
willend merged 1 commit into
mccode-dev:mainfrom
willend:main

Conversation

@willend
Copy link
Copy Markdown
Contributor

@willend willend commented Jun 3, 2026

Free-form text area

Please describe what your PR is adding in terms of features or bugfixes:

Protect DEBUG_COMPONENT macro by adding fflush(stdout) to avoid split tokens / data. See #2486 for details.


Development OS / boundary conditions

Please describe what OS you developed and tested your additions on, and if any special dependencies are required:


PR Checklist for contributing to McStas/McXtrace

For a coherent and useful contribution to McStas/McXtrace, please fill in relevant parts of the checklist:

  • My contribution contains something else

    • Explanation is added in free form text above or below the checklist

@willend willend merged commit 0c3fd56 into mccode-dev:main Jun 3, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant