<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib, branch feature/goliath/msvc</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=feature%2Fgoliath%2Fmsvc</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=feature%2Fgoliath%2Fmsvc'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2020-04-02T21:08:00+00:00</updated>
<entry>
<title>Add a libcompat implementation for getopt_long</title>
<updated>2020-04-02T21:08:00+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-04-02T21:03:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d68a600d005d9c110145310dc249daaf73653436'/>
<id>urn:sha1:d68a600d005d9c110145310dc249daaf73653436</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a libcompat implementation of getopt</title>
<updated>2020-04-02T21:01:48+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-04-02T18:03:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d76eb9dd46081279642d3353f51ebc09fe4bbe9f'/>
<id>urn:sha1:d76eb9dd46081279642d3353f51ebc09fe4bbe9f</id>
<content type='text'>
Limited to the subset actually needed. Vaguely inspired by the NetBSD
libc implementation.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Import the remaining utility files into VisualStudio project</title>
<updated>2020-04-01T23:07:57+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-04-01T23:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a772248e1a2f0886d8479b2f14392f020ea8c6e0'/>
<id>urn:sha1:a772248e1a2f0886d8479b2f14392f020ea8c6e0</id>
<content type='text'>
 - The libcommon print verion function requires the PACKAGE_NAME and
   PACKAGE_VERSION defines. Those are added manually to the msvc stub
   of config.h.
 - Also, libcommon cannot directly include getopt.h
 - libfstree needs to change the return type for getline

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix msvc 64 bit build, cleanup configuration</title>
<updated>2020-04-01T23:02:42+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-04-01T23:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=5de40ee8216c7a3ddb2bf88570f798c8ac4f40f8'/>
<id>urn:sha1:5de40ee8216c7a3ddb2bf88570f798c8ac4f40f8</id>
<content type='text'>
This fixes the msvc 64 bit build configuration which has been
overlooked in the previous commit. The configuration is unified
and the filters file (containing the layout of the files in the
browser) is added. The common definitions are added to config.h.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add preliminary VisualStudio support</title>
<updated>2020-04-01T16:31:04+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-31T22:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a2495bd1ac9e5e54074d65616de0efa822a6309e'/>
<id>urn:sha1:a2495bd1ac9e5e54074d65616de0efa822a6309e</id>
<content type='text'>
 - Mostly workarounds/clutches in compat.h
 - Change getline return type to int
 - Replace C99 style flexible array with alloca
 - Add all the MSVC solution/project crap

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix missing header without LZO</title>
<updated>2020-04-01T16:28:54+00:00</updated>
<author>
<name>Alyssa Ross</name>
<email>hi@alyssa.is</email>
</author>
<published>2020-04-01T14:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b3f2636f44eea1a8b6fbf892d2daa611cff9d4af'/>
<id>urn:sha1:b3f2636f44eea1a8b6fbf892d2daa611cff9d4af</id>
<content type='text'>
lib/common/compress.c: In function 'compressor_get_default':
lib/common/compress.c:39:2: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]
   39 |  assert(0);
      |  ^~~~~~
lib/common/compress.c:8:1: note: 'assert' is defined in header '&lt;assert.h&gt;'; did you forget to '#include &lt;assert.h&gt;'?
    7 | #include "common.h"
  +++ |+#include &lt;assert.h&gt;
    8 |
</content>
</entry>
<entry>
<title>Fix compressor availability check in libcommon</title>
<updated>2020-03-19T22:09:17+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-19T22:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=43d38a3c0f8f6e234a75a69df7bc5009f6f3cd85'/>
<id>urn:sha1:43d38a3c0f8f6e234a75a69df7bc5009f6f3cd85</id>
<content type='text'>
Initialize have_compressor to false before testing, to make
the check work.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix destruction of NULL pointer in xattr reader cleanup</title>
<updated>2020-03-19T22:06:24+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-19T22:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a86266d0479316a7ab654a35828ea2abee8a9059'/>
<id>urn:sha1:a86266d0479316a7ab654a35828ea2abee8a9059</id>
<content type='text'>
This fixes a copy and paste error in the cleanup path, destroying a
previously destroyed object again instead of the one being tested for.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix pthread_join check for valid thread handles</title>
<updated>2020-03-19T01:04:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-19T00:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=df24b3a070cc50e521b21fc2877e5b3985535a73'/>
<id>urn:sha1:df24b3a070cc50e521b21fc2877e5b3985535a73</id>
<content type='text'>
On Linux, checking for &gt; 0 worked because pthread_t is internally an
integer type. On other platforms (*caugh* Mac OS X *caugh*), it is
typedefed to an opaque pointer, causing a warning if used in an
integer relational comparison.

The intended use is to allow the generic cleanup function to be used
in the error path of the block processor creation function, while
preventing pthread_join being called on threads that haven't been
created at all. Since they are calloc'ed to 0, testing for non-zero
values should suffice in both cases.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix build of lz4 compressor with older versions of liblz4</title>
<updated>2020-03-18T21:30:17+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2020-03-18T21:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ddd4f22e33a7d5d9835f129a6cd0af9c175d76a4'/>
<id>urn:sha1:ddd4f22e33a7d5d9835f129a6cd0af9c175d76a4</id>
<content type='text'>
Older versions of liblz4 don't define LZ4HC_CLEVEL_MAX. This commit
adds a definition if liblz4 doesn't provide one.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
