Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92586 Details for
Bug 140593
tarsync malloc failure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
strcmp fix
patch (text/plain), 934 bytes, created by
Brian Harring (RETIRED)
on 2006-07-23 18:08:11 UTC
(
hide
)
Description:
strcmp fix
Filename:
MIME Type:
Creator:
Brian Harring (RETIRED)
Created:
2006-07-23 18:08:11 UTC
Size:
934 bytes
patch
obsolete
>=== 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) { >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140593
: 92586