[BACK]Return to hunt.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tip

Diff for /src/usr.bin/tip/Attic/hunt.c between version 1.14 and 1.15

version 1.14, 2009/10/27 23:59:44 version 1.15, 2010/06/29 17:42:35
Line 59 
Line 59 
                         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 |
Line 92 
Line 83 
                         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);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15