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

Diff for /src/usr.bin/tip/Attic/cu.c between version 1.7 and 1.8

version 1.7, 2001/09/10 00:14:17 version 1.8, 2001/09/17 22:41:26
Line 69 
Line 69 
                         CU = optarg;                          CU = optarg;
                         break;                          break;
                 case 'l':                  case 'l':
                         DV = optarg;                          if (DV != NULL) {
                                   fprintf(stderr,
                                       "%s: cannot specificy multiple -l options\n",
                                       __progname);
                                   exit(3);
                           }
                           if (strchr(optarg, '/'))
                                   DV = optarg;
                           else
                                   asprintf(&DV, "/dev/%s", optarg);
                         break;                          break;
                 case 's':                  case 's':
                         l = strtol(optarg, &cp, 10);                          l = strtol(optarg, &cp, 10);

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