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 10832045: Change talloc.c to build with the mac 10.7 SDK (Closed)

Created:
8 years, 4 months ago by Nico
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Change talloc.c to build with the mac 10.7 SDK talloc.c has a local diff to define strnlen(), instead of using the definition in replace.c. However, the 10.7 SDK has its own strnlen(), which makes the compiler complain about a strnlen() redefinition. Use the pattern from replace.c to fix the redefinition problem. With this change, 'browser_tests' builds with the 10.7 SDK. BUG=136844 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148685

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M third_party/talloc/chromium.patch View 1 chunk +2 lines, -1 line 1 comment Download
M third_party/talloc/talloc.c View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Nico
8 years, 4 months ago (2012-07-27 00:45:54 UTC) #1
Ken Russell (switch to Gerrit)
lgtm
8 years, 4 months ago (2012-07-27 00:56:53 UTC) #2
Mark Mentovai
8 years, 4 months ago (2012-07-27 01:10:14 UTC) #3
https://chromiumcodereview.appspot.com/10832045/diff/1/third_party/talloc/chr...
File third_party/talloc/chromium.patch (right):

https://chromiumcodereview.appspot.com/10832045/diff/1/third_party/talloc/chr...
third_party/talloc/chromium.patch:258: + static size_t rep_strnlen(const char*
s, size_t n)
Bet you broke this patch.

Powered by Google App Engine
This is Rietveld 408576698