-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patched compilation fails #24
Comments
Main problem seem to be around here: int matches(struct pathnames *paths, char *name, struct pathnames **new)
{
int i, n;
if(paths == NULL) {
*new = NULL;
return TRUE;
}
*new = init_subdir();
for(n = 0; n < paths->count; n++) {
struct pathname *path = paths->path[n];
for(i = 0; i < path->names; i++) {
int match = use_regex ?
regexec(path->name[i].preg, name, (size_t) 0,
NULL, 0) == 0 : fnmatch(path->name[i].name,
name, FNM_PATHNAME|FNM_PERIOD|FNM_EXTMATCH) ==
0;
if(match && path->name[i].paths == NULL)
/*
* match on a leaf component, any subdirectories
* will implicitly match, therefore return an
* empty new search set
*/
goto empty_set;
... |
Ok, looking at various places how to patch this up...and there are a lot!
I posted the patches here: Using: # (1) diff --strip-trailing-cr -NBbaur squashfs-tools_orig/ squashfs-tools/ >cygwin_sasquatch_43.patch
# (2) diff --strip-trailing-cr -Bbaur squashfs-tools_orig/ squashfs-tools/ >cygwin_sasquatch_43_b.patch |
This was referenced Oct 17, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any ideas?
The text was updated successfully, but these errors were encountered: