"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "client-src/runtar.c" between
amanda-tag-community-3.5.2.tar.gz and amanda-tag-community-3.5.3.tar.gz

About: Amanda is a backup system designed to archive many computers on a network to a single large-capacity tape drive.

runtar.c  (amanda-tag-community-3.5.2):runtar.c  (amanda-tag-community-3.5.3)
skipping to change at line 194 skipping to change at line 194
good_option++; good_option++;
} else if (g_str_has_prefix(argv[i],"--blocking-factor") || } else if (g_str_has_prefix(argv[i],"--blocking-factor") ||
g_str_has_prefix(argv[i],"--file") || g_str_has_prefix(argv[i],"--file") ||
g_str_has_prefix(argv[i],"--directory") || g_str_has_prefix(argv[i],"--directory") ||
g_str_has_prefix(argv[i],"--exclude") || g_str_has_prefix(argv[i],"--exclude") ||
g_str_has_prefix(argv[i],"--transform") || g_str_has_prefix(argv[i],"--transform") ||
g_str_has_prefix(argv[i],"--listed-incremental") || g_str_has_prefix(argv[i],"--listed-incremental") ||
g_str_has_prefix(argv[i],"--newer") || g_str_has_prefix(argv[i],"--newer") ||
g_str_has_prefix(argv[i],"--exclude-from") || g_str_has_prefix(argv[i],"--exclude-from") ||
g_str_has_prefix(argv[i],"--files-from")) { g_str_has_prefix(argv[i],"--files-from")) {
/* Accept theses options with the following argument */ if (strchr(argv[i], '=')) {
good_option += 2; good_option++;
} else {
/* Accept theses options with the following argument */
good_option += 2;
}
} else if (argv[i][0] != '-') { } else if (argv[i][0] != '-') {
good_option++; good_option++;
} }
} }
if (good_option <= 0) { if (good_option <= 0) {
error("error [%s invalid option: %s]", get_pname(), argv[i]); error("error [%s invalid option: %s]", get_pname(), argv[i]);
} }
g_ptr_array_add(array, quote_string(argv[i])); g_ptr_array_add(array, quote_string(argv[i]));
new_argv[i] = g_strdup_printf("%s", argv[i]); new_argv[i] = g_strdup_printf("%s", argv[i]);
good_option--; good_option--;
 End of changes. 1 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)