diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-10 21:59:16 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-10 21:59:16 +0000 |
commit | 7408c700e57ebc650275d0c6b7429aabe76fbddb (patch) | |
tree | acd5ad4441f2b173be71279a47ebb3ad91ab054b /boehm-gc/os_dep.c | |
parent | b25ceadc0b851a64cc6fcfd2cc305867ca5fb3e8 (diff) | |
download | gcc-7408c700e57ebc650275d0c6b7429aabe76fbddb.tar.gz |
2000-05-11 Bryce McKinlay <bryce@albatross.co.nz>
Imported 5.0 release version.
* acinclude.m4: Increment version to 5.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33832 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/os_dep.c')
-rw-r--r-- | boehm-gc/os_dep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/os_dep.c b/boehm-gc/os_dep.c index 636495ed039..b169eebcbcf 100644 --- a/boehm-gc/os_dep.c +++ b/boehm-gc/os_dep.c @@ -667,7 +667,7 @@ ptr_t GC_get_stack_base() size_t i, buf_offset = 0; f = open("/proc/self/stat", O_RDONLY); - if (f < 0 || read(f, stat_buf, STAT_BUF_SIZE) < 2 * STAT_SKIP) { + if (f < 0 || STAT_READ(f, stat_buf, STAT_BUF_SIZE) < 2 * STAT_SKIP) { ABORT("Couldn't read /proc/self/stat"); } c = stat_buf[buf_offset++]; |