Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(727)

Issue 6349099: Define sys_stat64 for Android

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by ted
Modified:
11 years, 7 months ago
CC:
google-breakpad-dev_googlegroups.com, chromium-reviews_chromium.org, Markus 顧孟勤
Base URL:
http://linux-syscall-support.googlecode.com/svn/trunk/
Visibility:
Public.

Description

I patched this when I originally added Android support for Breakpad, but it looks like in newer NDKs this doesn't break things. Also, sys_stat doesn't work reliably now, I get EOVERFLOW trying to use it.

Patch Set 1 #

Total comments: 1

Patch Set 2 : undef the stat64 names on Android, but in a nicer way #

Total comments: 2

Patch Set 3 : Define sys_stat64 for Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M lss/linux_syscall_support.h View 1 2 4 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 12
ted
11 years, 9 months ago (2012-07-12 18:07:05 UTC) #1
ted
Ugh, my test program didn't #include <sys/stat.h>. This is still broken on Android. I'll see ...
11 years, 9 months ago (2012-07-12 18:23:09 UTC) #2
digit
http://codereview.appspot.com/6349099/diff/1/lss/linux_syscall_support.h File lss/linux_syscall_support.h (left): http://codereview.appspot.com/6349099/diff/1/lss/linux_syscall_support.h#oldcode3037 lss/linux_syscall_support.h:3037: /* The Android NDK #defines stat64 stat, so avoid ...
11 years, 9 months ago (2012-07-12 18:24:24 UTC) #3
ted
On Thu, Jul 12, 2012 at 2:24 PM, <digit@google.com> wrote: > Maybe a better solution ...
11 years, 9 months ago (2012-07-12 19:17:21 UTC) #4
ted
11 years, 9 months ago (2012-07-12 19:25:01 UTC) #5
digit1
lgtm (but I'm not an owner :-)
11 years, 9 months ago (2012-07-13 10:52:54 UTC) #6
mseaborn1
LGTM, but please put "Define sys_stat64 for Android" as the first line of the description, ...
11 years, 9 months ago (2012-07-13 12:13:35 UTC) #7
ted
11 years, 9 months ago (2012-07-13 15:18:44 UTC) #8
ted
Can you commit this for me?
11 years, 9 months ago (2012-07-13 15:19:18 UTC) #9
digit1
Mark, can you commit this for Ted? This is blocking a related Breakpad patch. Thanks.
11 years, 7 months ago (2012-09-05 12:01:27 UTC) #10
thestig
spamming the other lss committers
11 years, 7 months ago (2012-09-05 17:59:26 UTC) #11
mseaborn1
11 years, 7 months ago (2012-09-05 18:28:37 UTC) #12
On 2012/09/05 12:01:27, digit1 wrote:
> Mark, can you commit this for Ted? This is blocking a related Breakpad
> patch. Thanks.

I've committed it for you:
http://code.google.com/p/linux-syscall-support/source/detail?r=12

Mark
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b