mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
1999-06-12 Mark Kettenis <kettenis@gnu.org>
* 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.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user