about summary refs log tree commit diff
path: root/linuxthreads/tst-cancel.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-11 23:01:06 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-11 23:01:06 +0000
commit43df859b957290a8fa1c1f55916aa560352099ee (patch)
treed2ce49b9ab5ca946bdb75dd766040027f3b4eab0 /linuxthreads/tst-cancel.c
parent95fe9d959f956c8b31a3bd8801ea9dfe475842a5 (diff)
downloadglibc-43df859b957290a8fa1c1f55916aa560352099ee.tar.gz
glibc-43df859b957290a8fa1c1f55916aa560352099ee.tar.xz
glibc-43df859b957290a8fa1c1f55916aa560352099ee.zip
Update.
2001-04-11  David S. Miller  <davem@redhat.com>

	* sysdeps/sparc/sparc32/pt-machine.h (stack_pointer): Advance
	up closer to user local variables so that new cleanup heuristics work.
	* sysdeps/sparc/sparc64/pt-machine.h (stack_pointer): Likewise.
Diffstat (limited to 'linuxthreads/tst-cancel.c')
-rw-r--r--linuxthreads/tst-cancel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/tst-cancel.c b/linuxthreads/tst-cancel.c
index 75d6c0de66..f2f97d2dbf 100644
--- a/linuxthreads/tst-cancel.c
+++ b/linuxthreads/tst-cancel.c
@@ -20,6 +20,7 @@ cleanup (void *arg)
   char *cp = stpcpy (s, "cleanup ");
   *cp++ = '0' + nr;
   *cp++ = '\n';
+  __libc_lseek (fd, 0, SEEK_END);
   __libc_write (fd, s, cp - s);
 }