Patch by Stewart Brodie to terminate the string array correctly
This commit was genuinely broken at the time (not related to our build system): sysdeps/linux/Config.in "fileutils/Config.in" dosyasini kaynak gosteriyor ama bu dosya repoda hic var olmadi (2002-12-05 - 2003-02-15 arasi orijinal yazar hatasi, 3238ea167 ile duzeltildi)
No binary (build failed)
—
(log yok)
| @@ -88,7 +88,6 @@ int run_parts_main(int argc, char **argv) | |
| * Called once for every argument. */ | |
| args = xrealloc(args, (argcount + 2) * (sizeof(char *))); | |
| args[argcount++] = optarg; | |
| - | args[argcount] = 0; |
| break; | |
| default: | |
| show_usage(); | |
| @@ -101,5 +100,7 @@ int run_parts_main(int argc, char **argv) | |
| } | |
| args[0] = argv[optind]; | |
| + | args[argcount] = 0; |
| + | |
| return(run_parts(args, test_mode)); | |
| } | |