Yabin Cui 28e69f7508 Add O_APPEND flag for __libc_write_stderr.
For DeathTests, we are testing the output of stderr to check if it is the
death we are expecting. To collect the output, Gtest redirects stderr to
a temporary file. But in __libc_write_stderr in libc_logging.cpp, we are
writing to stderr without a O_APPEND flag, so a new message will overwrite
a previous message.
The above situation makes almost all the DeathTests fail on host. Because
the expected message are always overwritten in host DeathTests. So I add
O_APPEND flag in __libc_write_stderr, which makes all host DeathTests pass.

Change-Id: Ic2f6044fdb181eebe132a6f170b57db43c5c3289
2015-03-25 13:01:23 -07:00
..
2015-02-24 13:40:43 -08:00
2015-02-24 13:40:43 -08:00
2015-02-24 13:40:43 -08:00
2015-02-27 18:22:45 -08:00
2015-02-14 13:21:22 -08:00
2015-02-17 17:05:48 +00:00
2014-12-18 16:27:30 -08:00