In article <[email protected]>, Matthias Scheler <[email protected]> wrote: >+ assert(pipe(fds) == 0); [...] >+ assert(write(fds[1], "", 1) == 1); [...] >+ assert(close(fds[0]) == 0); >+ assert(close(fds[1]) == 0); [...] >+ assert(sigfillset(&mask) == 0); [...] >+ assert(sigprocmask(SIG_SETMASK, NULL, &mask) == 0); [...] >+ assert(close(fd) == 0);
Please don't create assertions that contain code, because compiled with -DNDEBUG they vanish. christos
