summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch/tarsync/files/bug_140593_strcmp.patch')
-rw-r--r--app-arch/tarsync/files/bug_140593_strcmp.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/app-arch/tarsync/files/bug_140593_strcmp.patch b/app-arch/tarsync/files/bug_140593_strcmp.patch
deleted file mode 100644
index 44249c606292..000000000000
--- a/app-arch/tarsync/files/bug_140593_strcmp.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-=== modified file 'main.c'
---- main.c
-+++ main.c
-@@ -502,7 +502,7 @@
- ret = match_excludes(curdir_name, dir_ent[dir_index]->d_name, excludes);
- check_match_ret(curdir_name, dir_ent[dir_index]->d_name, ret);
- if(!ret) {
-- v1printf("removing node '%s' %s'\n", curdir_name, dir_ent[dir_index]->d_name);
-+ v1printf("removing node '%s' '%s'\n", curdir_name, dir_ent[dir_index]->d_name);
- if(remove_node(dir_ent[dir_index]->d_name, NULL) != 0) {
- v0printf("failed removing '%s' in dir '%s'\n", dir_ent[dir_index]->d_name, curdir_name);
- return -1;
-@@ -516,7 +516,7 @@
-
- // still processing dir_ents and ttar.
- ret = strcmp(dir_ent[dir_index]->d_name, ttar[x]->fullname + curdir_len);
-- if(ret == -1) {
-+ if(ret < 0) {
- ret = match_excludes(curdir_name, dir_ent[dir_index]->d_name, excludes);
- check_match_ret(curdir_name, dir_ent[dir_index]->d_name, ret);
- if(! ret) {
-