entered into RCS
authorroland <roland>
Thu, 30 Jun 1994 13:14:06 +0000 (13:14 +0000)
committerroland <roland>
Thu, 30 Jun 1994 13:14:06 +0000 (13:14 +0000)
hurd/dtable.c

index f006283..4812c69 100644 (file)
@@ -141,6 +141,8 @@ fork_child_dtable (void)
   for (i = 0; !err && i < _hurd_dtablesize; ++i)
     {
       struct hurd_fd *d = _hurd_dtable[i];
+      if (d == NULL)
+       continue;
 
       /* No other thread is using the send rights in the child task.  */
       d->port.users = d->ctty.users = NULL;