-
Notifications
You must be signed in to change notification settings - Fork 497
Include Cygwin /bin/lssparse.exe in msys2 #5311
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
Comments
Please use wget 'http://svn.nrubsig.org/svn/people/gisburn/code/sparsefiles/lssparse.c' to get the source, Chrome chokes on the lack of HTTPS on that machine. |
GZIPed source: |
The tool should go into the same package as /bin/ls or /bin/fallocate |
Compile with: -D_GNU_SOURCE=1 is required because MSYS2 didn't update unistd.h to Cygwin 3.6 level yet |
No it shouldn't. Those are from |
It is a patch in https://gcc.gnu.org/pub/cygwin/x86_64/release/cygutils/cygutils-1.4.17-3-src.tar.xz But @cedricblancher send you the upstream location: |
Description / Steps to reproduce the issue
Based on the email thread "cygutils 1.4.17-2: lssparse -H does not print hole at offset 0 if more data exists" in the Cygwin mailing list
Please include the Cygwin /bin/lssparse.exe in msys2.
This is a utility (originally Solaris/SUN) to show the sparse block (data, hole) layout.
Cygwin puts this into the "cygutils-extra" package: https://cygwin.com/packages/x86_64/cygutils-extra/cygutils-extra-1.4.17-3
Official upstream source is http://svn.nrubsig.org/svn/people/gisburn/code/sparsefiles/lssparse.c
License is "MIT"
Expected behavior
/usr/bin/lssparse -H myfile.dat should work if file myfile.dat exists
Actual behavior
/usr/bin/lssparse.exe not found.
Verification
Windows Version
MINGW64_NT-10.0-19045
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: