diff options
| author | Josh Gao <jmgao@google.com> | 2016-10-07 13:21:03 -0700 |
|---|---|---|
| committer | Josh Gao <jmgao@google.com> | 2016-10-07 13:21:03 -0700 |
| commit | 59bde2e8f4dacc059beb7269b86b276ec091ad57 (patch) | |
| tree | 77ad07c47fe0b5d69b57babf1d034c1ae4ef3b57 /libc/stdio/stdio.cpp | |
| parent | 1ba0e27462ff1b2e80457d6cb100b448afe6d10e (diff) | |
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
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions
