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

Issue 1293153007: Make it clear that base::FileDescriptor::auto_close is purely advisory. (Closed)

Created:
5 years, 4 months ago by dcheng
Modified:
5 years, 4 months ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make it clear that base::FileDescriptor::auto_close is purely advisory. close() the fd. Or don't. I'm a sign, not a cop. BUG=522207 Committed: https://crrev.com/33ee80f998c735246b5079c4614495493ad31307 Cr-Commit-Position: refs/heads/master@{#344178}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M base/file_descriptor_posix.h View 1 1 chunk +10 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
dcheng
This was a fun surprise I came across today while doing an IPC review.
5 years, 4 months ago (2015-08-18 21:39:40 UTC) #2
Nico
lgtm https://codereview.chromium.org/1293153007/diff/1/base/file_descriptor_posix.h File base/file_descriptor_posix.h (right): https://codereview.chromium.org/1293153007/diff/1/base/file_descriptor_posix.h#newcode24 base/file_descriptor_posix.h:24: // other end, the receiver must make sure ...
5 years, 4 months ago (2015-08-18 22:32:30 UTC) #3
dcheng
https://codereview.chromium.org/1293153007/diff/1/base/file_descriptor_posix.h File base/file_descriptor_posix.h (right): https://codereview.chromium.org/1293153007/diff/1/base/file_descriptor_posix.h#newcode24 base/file_descriptor_posix.h:24: // other end, the receiver must make sure to ...
5 years, 4 months ago (2015-08-18 23:30:14 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1293153007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1293153007/20001
5 years, 4 months ago (2015-08-18 23:32:20 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/57321)
5 years, 4 months ago (2015-08-19 01:37:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1293153007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1293153007/20001
5 years, 4 months ago (2015-08-19 05:42:57 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-19 08:37:45 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 08:38:28 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/33ee80f998c735246b5079c4614495493ad31307
Cr-Commit-Position: refs/heads/master@{#344178}

Powered by Google App Engine
This is Rietveld 408576698