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

Diff for /src/usr.bin/tip/Attic/uucplock.c between version 1.8 and 1.9

version 1.8, 2002/05/29 09:23:25 version 1.9, 2002/06/12 06:07:16
Line 98 
Line 98 
                  * The process that locked the file isn't running, so                   * The process that locked the file isn't running, so
                  * we'll lock it ourselves                   * we'll lock it ourselves
                  */                   */
                 fprintf(stderr, "Stale lock on %s PID=%d... overriding.\n",                  fprintf(stderr, "Stale lock on %s PID=%ld... overriding.\n",
                         ttyname, pid);                          ttyname, (long)pid);
                 if (lseek(fd, (off_t)0, SEEK_SET) < 0) {                  if (lseek(fd, (off_t)0, SEEK_SET) < 0) {
                         perror(tbuf);                          perror(tbuf);
                         (void)close(fd);                          (void)close(fd);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9