Use STDERR_FILENO instead of opening /dev/stderr.
/dev/stderr is a symlink to /proc/self/fd/2, so this only has different behavior when we're out of file descriptors, or when STDERR_FILENO is in a different state (it's not at the end, it's not writable, etc.). Test: mma Change-Id: Ie99688d810218eca8482ff060373e88c4e001824
Loading
Please sign in to comment