Re: [PATCH,HURD] mach: compliance fixes for nanosleep

2012-07-20 Thread Roland McGrath
In a log entry, write a local variable name as FOO rather than `foo'. Write 'remaining != NULL' in tests. Fix the existing cases while you're there. If the second __gettimeofday calls, return failure as it did before. Since I've just seen it repeated here and in your select change, it seems wor

[PATCH,HURD] mach: compliance fixes for nanosleep

2012-04-28 Thread Pino Toscano
Hi, attached there is a patch to make Mach's nanosleep() (used by Hurd) a bit more POSIX compliant: * check for validity of the `requested_time' parameter * return EINTR when interrupted * modify correctly the `remaining' parameter only when interrupted Thanks, -- Pino Toscano mach: compliance