Comments (4)
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;
...
from sasquatch.
Is related to #15 and (probably?) need another patch: here
Would be great if you could include that in your own patch...
from sasquatch.
Ok, looking at various places how to patch this up...and there are a lot!
After first patching with included script, then:
- I got errors due to:
- Error with undefined
FNM_EXTMATCH
as in #15 error: ‘CTL_HW’ undeclared
- multiple re-defined
BYTE_ORDER
issues - missing:
<sys/sysctl.h>
in Cygwin
- Error with undefined
- Found the solution in #6 and here
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
from sasquatch.
@devttys0
Just to clarify, #25 fixes this issue.
Please merge and close.
from sasquatch.
Related Issues (20)
- filesystem newer than what sasquatch 4.3 can handle?
- please do not pollute my filesystem
- FATAL ERROR:Line too long when reading extract file "***.bin", larger than 16384 bytes
- License? HOT 1
- Build script downloading squashfs.4.3.tar.gz as HTML.
- failed to read uid/gid table HOT 1
- The patch doesn't apply to squashfs-tools-4.4 HOT 2
- Debian / gcc / g++ gcc (Debian 10.2.0-15) 10.2.0 : fails to compile HOT 3
- Doesn't build with docker latest ubuntu HOT 1
- Small changes so that the build.sh runs on the latest of Kali Linux HOT 7
- loSame issue on Kali/Debian with `gcc (Debian 10.2.1-6) 10.2.1` HOT 5
- ‘if’ clause does not guard... [-Werror=misleading-indentation] HOT 18
- uses outdated version of squashfs-tools
- Unable to extract squashfs
- multiple definition of `verbose'; HOT 2
- No way to compile (Linux Mint) HOT 1
- Error when build on debian 11 HOT 2
- Error building for Ubuntu HOT 1
- Errors when building for MacOS. 'sys/sysinfo.h' file not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sasquatch.