* debian/patches/401_cppw_src.dpatch: Detect as well too many and too
few arguments. * Fix section of debian changelog where update of patches are documented
This commit is contained in:
6
debian/patches/401_cppw_src.dpatch
vendored
6
debian/patches/401_cppw_src.dpatch
vendored
@@ -220,11 +220,11 @@
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (optind >= argc) {
|
||||
+ cppwexit (_("missing file argument, -h for usage"),0,1);
|
||||
+ if (argc != optind + 1) {
|
||||
+ cppwexit (_("wrong number of arguments, -h for usage"),0,1);
|
||||
+ }
|
||||
+
|
||||
+ in_file = argv[argc - 1];
|
||||
+ in_file = argv[optind];
|
||||
+
|
||||
+ if (do_cppw) {
|
||||
+ if (cpshadow) {
|
||||
|
||||
Reference in New Issue
Block a user