* [PATCH] Fix sigaction.c without --enable-kernel and brk.c
@ 2002-12-20 9:23 Jakub Jelinek
2002-12-20 11:14 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2002-12-20 9:23 UTC (permalink / raw)
To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers
Hi!
Although ChangeLog entry said use INTERNAL_SYSCALL instead of asm,
brk.c has INLINE_SYSCALL which is not exactly what was intended.
Plus the typo reported on phil-list.
2002-12-20 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix
a typo.
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL
instead of INLINE_SYSCALL.
--- libc/sysdeps/unix/sysv/linux/i386/brk.c.jj 2002-12-20 13:37:13.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/i386/brk.c 2002-12-20 19:43:47.000000000 +0100
@@ -36,7 +36,7 @@ __brk (void *addr)
{
void *__unbounded newbrk;
- newbrk = INLINE_SYSCALL (brk, 1, __ptrvalue (addr));
+ newbrk = INTERNAL_SYSCALL (brk, 1, __ptrvalue (addr));
__curbrk = newbrk;
--- libc/sysdeps/unix/sysv/linux/i386/sigaction.c.jj 2002-12-20 13:37:14.000000000 +0100
+++ libc/sysdeps/unix/sysv/linux/i386/sigaction.c 2002-12-20 19:44:26.000000000 +0100
@@ -131,9 +131,9 @@ __libc_sigaction (int sig, const struct
k_newact.sa_restorer = &restore;
}
- result = INTERNAL_SYCALL (sigaction, 3, sig,
- act ? __ptrvalue (&k_newact) : 0,
- oact ? __ptrvalue (&k_oldact) : 0);
+ result = INTERNAL_SYSCALL (sigaction, 3, sig,
+ act ? __ptrvalue (&k_newact) : 0,
+ oact ? __ptrvalue (&k_oldact) : 0);
if (result < 0)
{
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix sigaction.c without --enable-kernel and brk.c
2002-12-20 9:23 [PATCH] Fix sigaction.c without --enable-kernel and brk.c Jakub Jelinek
@ 2002-12-20 11:14 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2002-12-20 11:14 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Roland McGrath, Glibc hackers
Jakub Jelinek wrote:
> Although ChangeLog entry said use INTERNAL_SYSCALL instead of asm,
> brk.c has INLINE_SYSCALL which is not exactly what was intended.
The changes are in. Thanks,
--
--------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-20 19:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-20 9:23 [PATCH] Fix sigaction.c without --enable-kernel and brk.c Jakub Jelinek
2002-12-20 11:14 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).