version 1.14, 2009/10/27 23:59:44 |
version 1.15, 2010/06/29 17:42:35 |
|
|
uucplock = cp; |
uucplock = cp; |
else |
else |
uucplock++; |
uucplock++; |
|
|
if (uu_lock(uucplock) < 0) |
if (uu_lock(uucplock) < 0) |
continue; |
continue; |
/* |
|
* Straight through call units, such as the BIZCOMP, |
|
* VADIC and the DF, must indicate they're hardwired in |
|
* order to get an open file descriptor placed in FD. |
|
* Otherwise, as for a DN-11, the open will have to |
|
* be done in the "open" routine. |
|
*/ |
|
if (!HW) |
|
break; |
|
if (setjmp(deadline) == 0) { |
if (setjmp(deadline) == 0) { |
alarm(10); |
alarm(10); |
FD = open(cp, (O_RDWR | |
FD = open(cp, (O_RDWR | |
|
|
signal(SIGALRM, SIG_DFL); |
signal(SIGALRM, SIG_DFL); |
return ((long)cp); |
return ((long)cp); |
} |
} |
|
|
(void)uu_unlock(uucplock); |
(void)uu_unlock(uucplock); |
} |
} |
signal(SIGALRM, f); |
signal(SIGALRM, f); |