Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/lib/libc/arch/vax/sys Pull up revision 1.3 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/04eb361136ef
branches:  netbsd-1-4
changeset: 470308:04eb361136ef
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 07 19:49:37 2000 +0000

description:
Pull up revision 1.3 (requested by kleink):
  Implement *__errno() indirection.

diffstat:

 lib/libc/arch/vax/sys/ptrace.S |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 413227c7d8f7 -r 04eb361136ef lib/libc/arch/vax/sys/ptrace.S
--- a/lib/libc/arch/vax/sys/ptrace.S    Mon Feb 07 19:49:19 2000 +0000
+++ b/lib/libc/arch/vax/sys/ptrace.S    Mon Feb 07 19:49:37 2000 +0000
@@ -33,13 +33,18 @@
 
 #if defined(SYSLIBC_SCCS) && !defined(lint)
        /* .asciz "@(#)ptrace.s 8.1 (Berkeley) 6/4/93" */
-       .asciz "$NetBSD: ptrace.S,v 1.2 1997/02/04 18:38:19 ragge Exp $"
+       .asciz "$NetBSD: ptrace.S,v 1.2.4.1 2000/02/07 19:49:37 he Exp $"
 #endif /* SYSLIBC_SCCS and not lint */
 
 #include "SYS.h"
 
 ENTRY(ptrace, 0)
+#ifdef _REENTRANT
+       calls   $0,___errno
+       clrl    (r0)
+#else
        clrl    _errno
+#endif
        chmk    $ SYS_ptrace
        jcs     err
        ret



Home | Main Index | Thread Index | Old Index