/[hurd]/hurd/utils/rpctrace.c
ViewVC logotype

Diff of /hurd/utils/rpctrace.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by roland, Mon Oct 15 04:49:33 2001 UTC revision 1.9 by roland, Wed Jan 2 11:22:17 2002 UTC
# Line 1  Line 1 
1  /* Trace RPCs sent to selected ports  /* Trace RPCs sent to selected ports
2    
3     Copyright (C) 1998,1999,2001 Free Software Foundation, Inc.     Copyright (C) 1998,99,2001,02 Free Software Foundation, Inc.
    Written by Jose M. Moya <josem@gnu.org>  
4    
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
6    
# Line 859  traced_spawn (char **argv, char **envp) Line 858  traced_spawn (char **argv, char **envp)
858    if (file == MACH_PORT_NULL)    if (file == MACH_PORT_NULL)
859      error (1, errno, "command not found: %s", argv[0]);      error (1, errno, "command not found: %s", argv[0]);
860    
861    err = task_create (mach_task_self (), 0, &traced_task);    err = task_create (mach_task_self (),
862    #ifdef KERN_INVALID_LEDGER
863                         NULL, 0,   /* OSF Mach */
864    #endif
865                         0, &traced_task);
866    assert_perror (err);    assert_perror (err);
867    
868    /* Declare the new task to be our child.  This is what a fork does.  */    /* Declare the new task to be our child.  This is what a fork does.  */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26