|
Replaced strerror() calls with threadsafe strerror_r().
Mac/Android use the XSI-compliant definition of strerror_r() which stores the message in the passed-in buffer.
Linux uses the GNU-specific definition of strerror_r() which takes a buffer and returns the message in a char* (which may or may not be the passed-in buffer).
BUG=
R=iposva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=25943
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+176 lines, -46 lines) |
Patch |
|
M |
runtime/bin/dbg_connection_macos.cc
|
View
|
|
4 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/bin/eventhandler_android.cc
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/eventhandler_linux.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/eventhandler_macos.cc
|
View
|
|
4 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/bin/file_android.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/file_linux.cc
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/file_macos.cc
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/bin/process_android.cc
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/process_linux.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/process_macos.cc
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/socket_android.cc
|
View
|
|
4 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/bin/socket_linux.cc
|
View
|
|
5 chunks |
+19 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/bin/socket_macos.cc
|
View
|
|
4 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/bin/utils_android.cc
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/utils_linux.cc
|
View
|
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/bin/utils_macos.cc
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/platform/thread_android.cc
|
View
|
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/platform/thread_linux.cc
|
View
|
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/platform/thread_macos.cc
|
View
|
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|