aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorAndrew Haley <aph@cygnus.com>2000-06-19 18:46:45 +0000
committerAndrew Haley <aph@cygnus.com>2000-06-19 18:46:45 +0000
commit7b9c7b51ffc7d967bae04991b556b2116a12a0d5 (patch)
tree1918c9efb52d1f243cd72f8cbd28b43992f6b151 /boehm-gc
parent51cc0edae72903584110c9917fe06e3fcd6eb5dc (diff)
2000-06-19 Andrew Haley <aph@cygnus.com>
* os_dep.c (read): Pass two dummy args to syscall(). git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@34598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/os_dep.c5
2 files changed, 8 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 628559087a0..f5b5fb4488e 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-19 Andrew Haley <aph@cygnus.com>
+
+ * os_dep.c (read): Pass two dummy args to syscall().
+
2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
Imported 5.0 release version.
diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c
index b169eebcbcf..87f84e7bccd 100644
--- a/boehm-gc/os_dep.c
+++ b/boehm-gc/os_dep.c
@@ -2236,7 +2236,10 @@ word len;
result = readv(fd, &iov, 1);
}
# else
- result = syscall(SYS_read, fd, buf, nbyte);
+ /* The two zero args at the end of this list are because one
+ IA-64 syscall() implementation actually requires six args
+ to be passed, even though they aren't always used. */
+ result = syscall(SYS_read, fd, buf, nbyte, 0, 0);
# endif
GC_end_syscall();
return(result);