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

Issue 9193014: Save and restore errno in signal handler. (Closed)

Created:
8 years, 11 months ago by Mads Ager (google)
Modified:
8 years, 11 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Save and restore errno in signal handler. Having a signal handler that clobbers errno can lead to spurious behavior in other code that relies on errno. One example of this is pthread_cond_wait. BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3499

Patch Set 1 #

Patch Set 2 : Add Windows binary so base version is the same. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, --3 lines) Patch
M runtime/bin/process_linux.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/bin/process_macos.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M tools/testing/bin/linux/dart View 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/testing/bin/macos/dart View 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/testing/bin/windows/dart.exe View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (google)
8 years, 11 months ago (2012-01-23 15:05:29 UTC) #1
Søren Gjesse
LGTM!
8 years, 11 months ago (2012-01-23 15:06:35 UTC) #2
Bill Hesse
8 years, 11 months ago (2012-01-23 15:06:43 UTC) #3
LGTM.

Powered by Google App Engine
This is Rietveld 408576698