search for: fileno_stderr

Displaying 1 result from an estimated 1 matches for "fileno_stderr".

2017 Oct 20
3
Why dup()?
I've been using ssh without it duping stdout and stderr, and had no problems.? I think this change should be made to the master source. WHAT IS THE PROBLEM WITH SSH RIGHT NOW? It duplicates FILENO_STDOUT and FILENO_STDERR, thus there are two descriptors for each of these files.? When the remote program closes its stdout or stderr, the remote sshd sends the appropriate message to the local ssh, which responds by closing the corresponding (duplicate) descriptor, but it ignores the original descriptor, thus that fi...