From: Roland McGrath Date: Sun, 13 Jun 1999 09:53:59 +0000 (+0000) Subject: 1999-06-12 Mark Kettenis X-Git-Tag: upstream/2.20~20168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1c93156c80012b1d54acd87e450841e57478bcb;p=platform%2Fupstream%2Flinaro-glibc.git 1999-06-12 Mark Kettenis * sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when inserting a send right into the child instead of unconditionally copying the send right. --- diff --git a/sysdeps/mach/hurd/fork.c b/sysdeps/mach/hurd/fork.c index 57f0959..3981ed2 100644 --- a/sysdeps/mach/hurd/fork.c +++ b/sysdeps/mach/hurd/fork.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1994,95,96,97,99 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 @@ -371,8 +371,7 @@ __fork (void) /* Insert the chosen send right into the child. */ err = __mach_port_insert_right (newtask, portnames[i], - insert, - MACH_MSG_TYPE_COPY_SEND); + insert, insert_type); switch (err) { case KERN_NAME_EXISTS: