From owner-cvs-all Fri Aug 27 7:47:27 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 59FBE1559C; Fri, 27 Aug 1999 07:47:24 -0700 (PDT) (envelope-from gallatin@FreeBSD.org) Received: (from gallatin@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA20778; Fri, 27 Aug 1999 07:47:24 -0700 (PDT) (envelope-from gallatin@FreeBSD.org) Message-Id: <199908271447.HAA20778@freefall.freebsd.org> From: Andrew Gallatin Date: Fri, 27 Aug 1999 07:47:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha vm_machdep.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk gallatin 1999/08/27 07:47:23 PDT Modified files: sys/alpha/alpha vm_machdep.c Log: Fix the child's return path from fork so that fork will return 0 in the child. This corrects a problem where linux/alpha binaries see the child's return value of fork as the parent's pid. This happens because linux/alpha binaries apparently check the return value directly, rather than looking for a non-zero value in a4, as *BSD & OSF/1 do. Reviewed by:dfr@nlsystems.com Revision Changes Path 1.20 +4 -4 src/sys/alpha/alpha/vm_machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message