> All the calls to mach_task_self() are mapped by the defines to simple
> variable __mach_task_self. There is no funtion call to initialise the
> variable. I have run nm though the object on both new Hurd and old Hurd,
> to show this.
The initialization happens in the libc function `__mach_init
I can tell you how to fix this bug; but the attached fragment of code is
probably in the wrong place.
All the calls to mach_task_self() are mapped by the defines to simple variable
__mach_task_self. There is no funtion call to initialise the variable. I
have run nm though the object on both ne