The (pid != -1 && errno == EINTR) condition seems entirely redundant; shouldn’t it be (pid == -1 && errno == EINTR)? @tedu would you mind checking my work here?
Thank you. If you could let reyk know, I’d appreciate it. I’d be happy if you wanted to make an introduction instead, but that seems overblown for a typo.
If anyone would like see the patch, I had trouble getting to it from the blog.
I don’t understand the loop condition in the patch:
The
(pid != -1 && errno == EINTR)condition seems entirely redundant; shouldn’t it be(pid == -1 && errno == EINTR)? @tedu would you mind checking my work here?Yeah, looks like a typo.
Thank you. If you could let reyk know, I’d appreciate it. I’d be happy if you wanted to make an introduction instead, but that seems overblown for a typo.
Already fixed! Thanks. (And sorry, I forgot to mention you in the commit.)
No worries, we can save that for a change involving more than one character. You’re fast!