DragonFlyBSD/src 8175f6e — lib/libc/net rcmdsh.c
libc - Fix bug in rcmdsh() * rcmdsh() (which really nothing should be using any more anyway) used a generic wait(NULL) to wait for a child to exit, but this can wind up waiting for the wrong pid in a multi-threaded or multi-fork environment. * Solved by waiting on the specific pid instead.
Delta | File | |
---|---|---|
+1 | -1 | lib/libc/net/rcmdsh.c |
+1 | -1 | 1 files |