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

Issue 1421293008: include what you use: errno.h in exec_process.cc (Closed)

Created:
5 years, 1 month ago by Mostyn Bramley-Moore
Modified:
5 years, 1 month ago
Reviewers:
tfarina, brettw
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

include what you use: errno.h in exec_process.cc Add missing errno.h inclusion - this is less likely to break uncommon toolchains (eg uClibc). And while we're at it, merge posix includes into else case for an #ifdef OS_WIN block to match the code that uses these includes. R=brettw@chromium.org,tfarina@chromium.org Committed: https://crrev.com/9eca8d034b9a15b634e45d1ef3dde4306ae6a355 Cr-Commit-Position: refs/heads/master@{#358944}

Patch Set 1 #

Total comments: 6

Patch Set 2 : merge posix includes into else case #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M tools/gn/exec_process.cc View 1 1 chunk +2 lines, -3 lines 1 comment Download

Messages

Total messages: 21 (7 generated)
Mostyn Bramley-Moore
@brettw: here's an include-what-you-use fixup.
5 years, 1 month ago (2015-11-07 09:46:53 UTC) #2
tfarina
Mostyn, could you add to the CL description the toolchain you have used that encountered ...
5 years, 1 month ago (2015-11-07 10:50:55 UTC) #4
Mostyn Bramley-Moore
On 2015/11/07 10:50:55, tfarina wrote: > Mostyn, could you add to the CL description the ...
5 years, 1 month ago (2015-11-07 13:05:40 UTC) #5
tfarina
I think this is correct, I see usages of errno in this file. But I ...
5 years, 1 month ago (2015-11-07 16:10:56 UTC) #6
Mostyn Bramley-Moore
> I think this is correct, I see usages of errno in this file. But ...
5 years, 1 month ago (2015-11-07 19:52:40 UTC) #7
tfarina
OK, I think you should include the uClibc information in the CL description. This the ...
5 years, 1 month ago (2015-11-08 13:55:07 UTC) #8
tfarina
https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc#newcode18 tools/gn/exec_process.cc:18: #include <errno.h> On 2015/11/07 19:52:39, Mostyn Bramley-Moore wrote: > ...
5 years, 1 month ago (2015-11-08 13:59:33 UTC) #9
Mostyn Bramley-Moore
Adjusted the description a little. https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc#newcode18 tools/gn/exec_process.cc:18: #include <errno.h> On 2015/11/08 ...
5 years, 1 month ago (2015-11-09 16:40:07 UTC) #11
brettw
lgtm https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc#newcode18 tools/gn/exec_process.cc:18: #include <errno.h> Personally I'd merge them all into ...
5 years, 1 month ago (2015-11-10 21:48:19 UTC) #12
Mostyn Bramley-Moore
https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/1421293008/diff/1/tools/gn/exec_process.cc#newcode18 tools/gn/exec_process.cc:18: #include <errno.h> On 2015/11/10 21:48:19, brettw wrote: > Personally ...
5 years, 1 month ago (2015-11-10 22:24:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421293008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421293008/20001
5 years, 1 month ago (2015-11-10 22:27:18 UTC) #17
tfarina
lgtm. https://codereview.chromium.org/1421293008/diff/20001/tools/gn/exec_process.cc File tools/gn/exec_process.cc (right): https://codereview.chromium.org/1421293008/diff/20001/tools/gn/exec_process.cc#newcode4 tools/gn/exec_process.cc:4: just noticed this: exec_process.cc isn't including exec_process.h. I ...
5 years, 1 month ago (2015-11-10 22:28:37 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-10 23:13:40 UTC) #20
commit-bot: I haz the power
5 years, 1 month ago (2015-11-10 23:14:52 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9eca8d034b9a15b634e45d1ef3dde4306ae6a355
Cr-Commit-Position: refs/heads/master@{#358944}

Powered by Google App Engine
This is Rietveld 408576698