From 64d88a4ad0e68ccc97f003a60ba0d818638e7f15 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 1 Feb 1994 00:52:23 +0000 Subject: [PATCH] entered into RCS --- sysdeps/unix/bsd/vax/sysdep.S | 4 ++-- sysdeps/unix/sysv/sysv4/i386/vfork.S | 1 + sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 sysdeps/unix/sysv/sysv4/i386/vfork.S diff --git a/sysdeps/unix/bsd/vax/sysdep.S b/sysdeps/unix/bsd/vax/sysdep.S index 9f39b8248a8..618d8897424 100644 --- a/sysdeps/unix/bsd/vax/sysdep.S +++ b/sysdeps/unix/bsd/vax/sysdep.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -22,7 +22,7 @@ Cambridge, MA 02139, USA. */ .globl _errno .globl syscall_error syscall_error: -#ifdef EWOULDBLOCK_sys +#if defined (EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN /* We translate the system's EWOULDBLOCK error into EAGAIN. The GNU C library always defines EWOULDBLOCK==EAGAIN. EWOULDBLOCK_sys is the original number. */ diff --git a/sysdeps/unix/sysv/sysv4/i386/vfork.S b/sysdeps/unix/sysv/sysv4/i386/vfork.S new file mode 100644 index 00000000000..1cdebcded9f --- /dev/null +++ b/sysdeps/unix/sysv/sysv4/i386/vfork.S @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S b/sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S index cf5d272f4db..da3cd6b8bea 100644 --- a/sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S +++ b/sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1994 Free Software Foundation, Inc. Contributed by Brendan Kehoe (brendan@zen.org). The GNU C Library is free software; you can redistribute it and/or @@ -28,7 +28,7 @@ ENTRY(syscall_error) mov EINTR, %o0 notint: -#ifdef EWOULDBLOCK_sys +#if defined (EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN /* We translate the system's EWOULDBLOCK error into EAGAIN. The GNU C library always defines EWOULDBLOCK==EAGAIN. EWOULDBLOCK_sys is the original number. */ -- 2.47.3