-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
also redirect JL_STDERR etc. when redirecting to devnull #55958
base: master
Are you sure you want to change the base?
also redirect JL_STDERR etc. when redirecting to devnull #55958
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
a3f3589
to
6d14d91
Compare
@Keno can you take another look. I hadn't appreciated that it was |
2ee5fbf
to
f4ca02f
Compare
f4ca02f
to
9665f77
Compare
This appears to be a use-after-free because of the close call, so I am not sure this will work |
If I switch #55959 to use devnull, and add this change then I get the desired suppression without error, and CI seems happy here. If the implementation isn't quite right, is there a better way? Use the handle after it's been |
Currently any c prints to JL_STDERR will print during
redirect_stderr(f, devnull)