diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-03 15:53:28 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-03 15:53:28 +0000 |
commit | d3cf0a31143eda11d27bce6b10c091441cd50d1a (patch) | |
tree | a6986ee5adfb979a07e590f264651d5cf98a61ca /gcc/gcov-io.c | |
parent | 12dd2b30105a7d5a2e742b192e6996197d572fc3 (diff) | |
download | gcc-d3cf0a31143eda11d27bce6b10c091441cd50d1a.tar.gz |
final patch for enabling VxWorks
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193124 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcov-io.c')
-rw-r--r-- | gcc/gcov-io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/gcov-io.c b/gcc/gcov-io.c index d64fb42c3c2..f5626542521 100644 --- a/gcc/gcov-io.c +++ b/gcc/gcov-io.c @@ -92,7 +92,8 @@ gcov_open (const char *name, int mode) { /* Read-only mode - acquire a read-lock. */ s_flock.l_type = F_RDLCK; - fd = open (name, O_RDONLY); + /* pass mode (ignored) for compatibility */ + fd = open (name, O_RDONLY, S_IRUSR | S_IWUSR); } else { |