Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Issue 22634003: Replaced strerror() calls with threadsafe strerror_r() (Closed)

Created:
7 years, 4 months ago by Chris Bracken
Modified:
7 years, 4 months ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

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

Patch Set 1 #

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

Messages

Total messages: 3 (0 generated)
Chris Bracken
7 years, 4 months ago (2013-08-08 01:45:27 UTC) #1
Ivan Posva
LGTM Thanks! -Ivan
7 years, 4 months ago (2013-08-08 18:37:17 UTC) #2
Chris Bracken
7 years, 4 months ago (2013-08-08 20:24:18 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r25943 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698