Skip to content

Conversation

@Syeberman
Copy link

munit_replace_stderr is used here, surrounded by #if !defined(MUNIT_NO_BUFFER):

munit/munit.c

Line 1426 in fbbdf14

const volatile int orig_stderr = munit_replace_stderr(stderr_buf);

It is also used here, surrounded by #if !defined(MUNIT_NO_FORK):

munit/munit.c

Line 1355 in fbbdf14

orig_stderr = munit_replace_stderr(stderr_buf);

This PR ensures that munit_replace_stderr is available when MUNIT_NO_BUFFER and MUNIT_NO_FORK are both defined.

@Syeberman
Copy link
Author

Accidentally created this against my master branch. Opened a new PR on a branch: #103

@Syeberman Syeberman closed this Apr 14, 2024
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