d396dc93a7
The daemon failed to startup because main.cpp was changed from calling WriteFile() to android::base::WriteStringToFd(), the later which calls write() in the C Runtime which by default has stdout in textmode which does \n to \r\n translation. The quick fix is to change stdout's mode from text to binary since right after it is reopened to redirect to the daemon log file anyway. Change-Id: I322fc9eae5d6abbf63f3d5917b0beb2171b5a15c Signed-off-by: Spencer Low <CompareAndSwap@gmail.com> |
||
---|---|---|
.. | ||
main.cpp |