version 1.37, 2006/04/26 21:55:22 |
version 1.38, 2006/05/08 09:48:12 |
|
|
if (RCS_KWEXP_INVAL(kflag)) { |
if (RCS_KWEXP_INVAL(kflag)) { |
warnx("invalid RCS keyword substitution mode"); |
warnx("invalid RCS keyword substitution mode"); |
(usage)(); |
(usage)(); |
exit(1); |
exit(D_ERROR); |
} |
} |
break; |
break; |
case 'p': |
case 'p': |
|
|
break; |
break; |
default: |
default: |
(usage)(); |
(usage)(); |
exit(1); |
exit(D_ERROR); |
} |
} |
} |
} |
|
|
|
|
if (argc < 0) { |
if (argc < 0) { |
warnx("no input file"); |
warnx("no input file"); |
(usage)(); |
(usage)(); |
exit(1); |
exit(D_ERROR); |
} |
} |
|
|
if (rev_str1 == NULL) { |
if (rev_str1 == NULL) { |
warnx("no base revision number given"); |
warnx("no base revision number given"); |
(usage)(); |
(usage)(); |
exit(1); |
exit(D_ERROR); |
} |
} |
|
|
for (i = 0; i < argc; i++) { |
for (i = 0; i < argc; i++) { |