home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0025 < prev    next >
Encoding:
Text File  |  1981-08-05  |  768 b   |  26 lines

  1. Areed.182
  2. net.v7bugs
  3. utzoo!decvax!ucbvax!ihnss!cbosg!harpo!chico!duke!reed!valer
  4. Fri Jul 31 20:33:23 1981
  5. uucico hanging
  6. We have been having a problem with a slave uucico
  7. hanging and have identified one cause of this problem.
  8. It turns out that there is no timeout provisions for
  9. the protocol starting routine "startup".  The following
  10. is a simple if not pretty patch to cico.c to provide
  11. the timeout.
  12.     309,311c309,315
  13.     <    ret = startup(Role);
  14.     <    if (ret != SUCCESS) {
  15.     <        logent("startup", "FAILED");
  16.     ---
  17.     >     alarm(MAXMSGTIME);
  18.     >     if (setjmp(Sjbuf))
  19.     >         goto Failure;
  20.     >     ret = startup(Role);
  21.     >     alarm(0);
  22.     >     if (ret != SUCCESS) {
  23.     > Failure:    logent("startup", "FAILED");
  24. I understand that there are other problems with uucico hanging
  25. which this does not explain.
  26.