-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Refactor proc_open() implementation #7255
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
Conversation
0c7d6f6
to
0afe7da
Compare
I think you should use |
60fd91e
to
0ba3a6f
Compare
That seems to have been indeed the issue, thanks for spotting this. :-) |
That's the one I really wasn't sure about, just tried to align some types to prevent the int cast, and thought well the array offsets used here should only be unsigned so let's go with
We don't have a general policy but I do think But I could change it to zend_result. |
Why is being able to write |
It is not a goal, maybe it's just because But, frankly either |
This prevents a call to strlen() on Windows
0d7f203
to
81cbbcf
Compare
I dropped the |
Not sure all of the commits are sensible, and I still don't quite grasp why I segfault on an unknown address if I convert the command struct member from
char*
tozend_string*