summaryrefslogtreecommitdiff
path: root/kerberosV/libexec/kdc
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2006-12-01 16:34:42 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2006-12-01 16:34:42 +0000
commitcc3275586fa747dea8554f15810e367f8f6a7056 (patch)
tree6a7e5eb36a55a37da6bb030c5e6c92ebc8a39f4a /kerberosV/libexec/kdc
parenta66448ed11b2f3fb46ae2bf1385cf042f09ac4ce (diff)
Normally pipes created by threaded apps are left non-blocking after being
closed so that a threaded child process can still read it without blocking. However, leaving stdin/out/err non-blocking when closed is bad because it can be shared with non-threaded apps that can't deal with a non-blocking file descriptor (i.e. cat). Therefore special case stdin/out/err pipes so that they are reset to blocking upon a close(). Tested by robert@, jolan@ and myself with multiple OOo builds on mp systems where the problem was seen more frequently.
Diffstat (limited to 'kerberosV/libexec/kdc')
0 files changed, 0 insertions, 0 deletions