Skip to content
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

[NetBSD] cmdline() raise ZombieProcess when unable to decode chars #1536

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

giampaolo
Copy link
Owner

...from C we get EINVAL, which is then (erroneously) turned into ZombieProcess since the PID is still alive. Instead return an empty list. This was exercised by (invalid chars) unicode tests.

This happens with unicode test, meaning the C routine it's
unable to decode the unicode chars.
Also, fix a bug introduced in 1530 (C impl of cwd()) which does not take
ENOENT into account.
@giampaolo giampaolo merged commit 6bb5a30 into master Jun 14, 2019
@giampaolo giampaolo deleted the netbsd-zombie-proc branch June 14, 2019 08:53
giampaolo added a commit that referenced this pull request Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant