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

Issue 57663004: Add struct flock to newlib fcntl.h. (Closed)

Created:
7 years, 1 month ago by Sam Clegg
Modified:
7 years ago
Reviewers:
Mark Seaborn
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Add struct flock to newlib fcntl.h. The header was declaring F_GETFL and F_SETFL but not declare the flock struct on which they operate. R=mseaborn@chromium.org Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=12464

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M src/trusted/service_runtime/include/sys/fcntl.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Sam Clegg
7 years, 1 month ago (2013-11-07 18:10:38 UTC) #1
Mark Seaborn
https://codereview.chromium.org/57663004/diff/30001/src/trusted/service_runtime/include/sys/fcntl.h File src/trusted/service_runtime/include/sys/fcntl.h (right): https://codereview.chromium.org/57663004/diff/30001/src/trusted/service_runtime/include/sys/fcntl.h#newcode74 src/trusted/service_runtime/include/sys/fcntl.h:74: long l_start; /* relative offset, in bytes */ The ...
7 years, 1 month ago (2013-11-08 22:32:35 UTC) #2
Sam Clegg
On 2013/11/08 22:32:35, Mark Seaborn wrote: > https://codereview.chromium.org/57663004/diff/30001/src/trusted/service_runtime/include/sys/fcntl.h > File src/trusted/service_runtime/include/sys/fcntl.h (right): > > https://codereview.chromium.org/57663004/diff/30001/src/trusted/service_runtime/include/sys/fcntl.h#newcode74 ...
7 years, 1 month ago (2013-11-08 22:41:55 UTC) #3
Sam Clegg
https://codereview.chromium.org/57663004/diff/30001/src/trusted/service_runtime/include/sys/fcntl.h File src/trusted/service_runtime/include/sys/fcntl.h (right): https://codereview.chromium.org/57663004/diff/30001/src/trusted/service_runtime/include/sys/fcntl.h#newcode74 src/trusted/service_runtime/include/sys/fcntl.h:74: long l_start; /* relative offset, in bytes */ On ...
7 years ago (2013-11-25 19:50:25 UTC) #4
Mark Seaborn
LGTM
7 years ago (2013-11-26 18:55:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/sbc@chromium.org/57663004/570001
7 years ago (2013-11-27 02:38:24 UTC) #6
commit-bot: I haz the power
Presubmit check for 57663004-570001 failed and returned exit status 1. Running presubmit commit checks ...
7 years ago (2013-11-27 02:38:28 UTC) #7
Sam Clegg
Committed patchset #3 manually as r12464 (presubmit successful).
7 years ago (2013-11-27 20:49:05 UTC) #8
Mark Seaborn
7 years ago (2013-12-03 02:57:44 UTC) #9
Message was sent while issue was closed.
This change seems to have caused llvm-test-suite on the PNaCl FYI bots to start
failing:

http://build.chromium.org/p/client.nacl.toolchain/builders/linux-pnacl-x86_64...

/mnt/data/b/build/slave/linux-pnacl-x86_64-tests-x86_32/build/native_client/toolchain/pnacl_linux_x86/usr/include/sys/fcntl.h:71:8:
error: redefinition of 'flock'
struct flock {
       ^
/mnt/data/b/build/slave/linux-pnacl-x86_64-tests-x86_32/build/native_client/pnacl/git/llvm-test-suite/MultiSource/Applications/sqlite3/sqlite3.c:23:8:
note: previous definition is here
struct flock {
       ^
1 warning and 1 error generated.

It looks like you need to revert this change:

http://git.chromium.org/gitweb/?p=native_client/pnacl-llvm-testsuite.git;a=bl...

Powered by Google App Engine
This is Rietveld 408576698