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

Issue 10399043: zygote: Redirect 64-bit libc localtime and localtime_r routines. (Closed)

Created:
8 years, 7 months ago by hshi1
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

zygote: Redirect 64-bit libc localtime and localtime_r routines. BUG=128053 TEST=locally tested on lumpy Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137560

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address Jorge's comments. #

Total comments: 1

Patch Set 3 : Address Satoru's comments. #

Patch Set 4 : Failure to locate 64-bit counterparts should not be Fatal. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -2 lines) Patch
M content/zygote/zygote_main_linux.cc View 1 2 3 5 chunks +60 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
hshi1
Jorge, Satoru - please review this fix. We need to redirect the 64-bit version of ...
8 years, 7 months ago (2012-05-16 00:59:35 UTC) #1
hshi1
Add @sergeyu -- I noticed comments that the InitLibcFileIOFunctions() code does not work properly under ...
8 years, 7 months ago (2012-05-16 01:13:39 UTC) #2
satorux1
LGTM, but you might want to get LGTM from another reviewer who's more familiar with ...
8 years, 7 months ago (2012-05-16 02:36:34 UTC) #3
Jorge Lucangeli Obes
http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc File content/zygote/zygote_main_linux.cc (left): http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc#oldcode190 content/zygote/zygote_main_linux.cc:190: if (!g_libc_localtime || !g_libc_localtime_r) { Shouldn't you add checks ...
8 years, 7 months ago (2012-05-16 02:59:45 UTC) #4
hshi1
http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc File content/zygote/zygote_main_linux.cc (right): http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc#newcode214 content/zygote/zygote_main_linux.cc:214: __attribute__ ((__visibility__("default"))) This is a copy&paste based on the ...
8 years, 7 months ago (2012-05-16 03:04:08 UTC) #5
hshi1
Jorge - can you review Patch Set #2. Thanks. http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc File content/zygote/zygote_main_linux.cc (left): http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc#oldcode190 content/zygote/zygote_main_linux.cc:190: ...
8 years, 7 months ago (2012-05-16 17:36:16 UTC) #6
hshi1
http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc File content/zygote/zygote_main_linux.cc (right): http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc#newcode214 content/zygote/zygote_main_linux.cc:214: __attribute__ ((__visibility__("default"))) Sorry, I take this back. It appears ...
8 years, 7 months ago (2012-05-16 17:44:57 UTC) #7
satorux1
On 2012/05/16 17:44:57, hshi1 wrote: > http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc > File content/zygote/zygote_main_linux.cc (right): > > http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc#newcode214 > ...
8 years, 7 months ago (2012-05-16 17:51:04 UTC) #8
satorux1
On 2012/05/16 17:51:04, satorux1 wrote: > On 2012/05/16 17:44:57, hshi1 wrote: > > > http://codereview.chromium.org/10399043/diff/1/content/zygote/zygote_main_linux.cc ...
8 years, 7 months ago (2012-05-16 17:53:16 UTC) #9
Jorge Lucangeli Obes
http://codereview.chromium.org/10399043/diff/13001/content/zygote/zygote_main_linux.cc File content/zygote/zygote_main_linux.cc (left): http://codereview.chromium.org/10399043/diff/13001/content/zygote/zygote_main_linux.cc#oldcode222 content/zygote/zygote_main_linux.cc:222: struct tm* localtime_r(const time_t* timep, struct tm* result) { ...
8 years, 7 months ago (2012-05-16 17:54:54 UTC) #10
hshi1
Jorge, it was working before (in the 32-bit era) because we did not need to ...
8 years, 7 months ago (2012-05-16 17:59:29 UTC) #11
hshi1
Uploaded Patch Set #3.
8 years, 7 months ago (2012-05-16 18:04:09 UTC) #12
hshi1
Adding brettw@ for review. Sorry I didn't realize earlier that contents/OWNER has noparent set so ...
8 years, 7 months ago (2012-05-16 18:32:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/10399043/14005
8 years, 7 months ago (2012-05-16 18:59:18 UTC) #14
commit-bot: I haz the power
Presubmit check for 10399043-14005 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-16 18:59:23 UTC) #15
hshi1
8 years, 7 months ago (2012-05-16 19:49:07 UTC) #16
Jorge Lucangeli Obes
On 2012/05/16 19:49:07, hshi1 wrote: hshi, since satorux suggested getting another LGTM, it might have ...
8 years, 7 months ago (2012-05-16 21:09:19 UTC) #17
hshi1
Thanks Jorge! Still awaiting review from one of the owners.
8 years, 7 months ago (2012-05-16 21:11:33 UTC) #18
brettw
rubberstamp lgtm
8 years, 7 months ago (2012-05-16 21:59:48 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/10399043/14005
8 years, 7 months ago (2012-05-16 22:03:37 UTC) #20
commit-bot: I haz the power
8 years, 7 months ago (2012-05-16 23:46:22 UTC) #21
Change committed as 137560

Powered by Google App Engine
This is Rietveld 408576698