I have the source for autofs-3.1.3 package. In the spawnv routine
there is a set of if statements like this:
if(f < 0){
sigprocmask(SIG_SETMASK, &oldsig, NULL);
return -1;
else if(f == 0){
.
.
.
} else {
.
.
.
if( f < 0){
close(pipefd[0]);
return -1;
}
.
.
.
}
When the program arrives at the second "if(f < 0)" f must be greater
than zero. This of course only takes a few clock cycles to execute and
so it does not slow the program down much, but you might as well get rid
of it in future releases.
--
Ben Sapp Los Alamos National Laboratory
email: <mailto:[EMAIL PROTECTED]> Phone: (505)667-3277
Fax: (505)665-7920 URL: http://www.neutrino.lanl.gov/
--