<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/bin, branch fixes-1.2.0</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=fixes-1.2.0</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=fixes-1.2.0'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2022-12-14T14:14:18+00:00</updated>
<entry>
<title>rdsquashfs: improve unpacking error message on Windows</title>
<updated>2022-12-14T14:14:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-12-14T14:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=73711939b54f1eb2f8235daaa41adee65ebd2bd0'/>
<id>urn:sha1:73711939b54f1eb2f8235daaa41adee65ebd2bd0</id>
<content type='text'>
Print a proper error description instead of just an error code.

If the error is ERROR_FILE_EXISTS, print out a hint that this might
be caused by a case in-sensitivity issue.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move gensquashfs specific code from libfstree to gensquashfs</title>
<updated>2022-11-22T13:45:32+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-22T13:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=168ef9be32ad754d7bcb38ed70787237fc12630d'/>
<id>urn:sha1:168ef9be32ad754d7bcb38ed70787237fc12630d</id>
<content type='text'>
The "from dir" and from "from file" code, as well as the "sort file"
code is specific to gensquashfs, so move them there and the test
cases as well.

The medium term idea is to reduce libfstree to a stub, merge it into
the generic writer and ultimately hoist that into libsquashfs.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>filemap xattr: slightly improve error reporting</title>
<updated>2022-11-21T14:27:09+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-19T19:29:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=67580dd8dce0cb43fb0c7e0ec2d3855003fe2389'/>
<id>urn:sha1:67580dd8dce0cb43fb0c7e0ec2d3855003fe2389</id>
<content type='text'>
 - When printing an error, specify the filename and line number
 - Always print an error, including out of memory conditions
 - Fail if we encounter a line that we don't recognize

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>filemap xattr: use sqfs_u8 data type for xattr value blobs</title>
<updated>2022-11-21T14:25:53+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-19T19:14:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=40ccc8ce7c2008892d6ac1c12816438fd71b90cb'/>
<id>urn:sha1:40ccc8ce7c2008892d6ac1c12816438fd71b90cb</id>
<content type='text'>
The xattr values are not strings, they are arbitrary byte blobs.

To be on the safe side tough, we should still allocate the space for
the extra null byte and propperly initialize the buffer.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: Add example for the xattr filemap to the help text</title>
<updated>2022-11-19T19:09:12+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-19T19:09:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=7bf4cc03d379bdd71c61982abde2355c578e4ef2'/>
<id>urn:sha1:7bf4cc03d379bdd71c61982abde2355c578e4ef2</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: split the help text up into smaller parts</title>
<updated>2022-11-19T18:24:38+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-19T18:24:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=296b2d082469200673f16595f3983ff4a7b4655f'/>
<id>urn:sha1:296b2d082469200673f16595f3983ff4a7b4655f</id>
<content type='text'>
It's just too darn big, crossing the maximum guaranteed by C99.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: simplfy the help text a bit</title>
<updated>2022-11-19T17:23:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-19T17:23:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d465d9f95a7cfcee89ababcff25cada649ec87d1'/>
<id>urn:sha1:d465d9f95a7cfcee89ababcff25cada649ec87d1</id>
<content type='text'>
The help text should provide a short, concise explanation, for
quickly lookup up how to use the programs. For the input
formats, this is mostly covered by the examples themselves.

The detailed description can remain in the man page.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a man-page section about the xattr file format</title>
<updated>2022-11-19T15:59:41+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-19T15:59:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=08c2540cb7649b8f9eea8435551e5dc3bc11a250'/>
<id>urn:sha1:08c2540cb7649b8f9eea8435551e5dc3bc11a250</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>filemap xattr: use file istream from libio instead of stdio FILE</title>
<updated>2022-11-18T15:21:12+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-16T09:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=007ff40bf440d72d2ca4ffed26b6b2ea752b1562'/>
<id>urn:sha1:007ff40bf440d72d2ca4ffed26b6b2ea752b1562</id>
<content type='text'>
The line-by-line reading function in the io library was specifically
added for this kind of use case, so we don't have to handle trimming
of lines, don't have to touch getline() and it's convoluted error
handling (return value -1 could mean either EOF or error).

The code that searches for '\n' and replaces it with '\0' can be
removed as well and a memory leak involving "line" is removed along
the way.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>filemap xattr: simplify error handling, freeing</title>
<updated>2022-11-18T15:21:12+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-11-16T09:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=fefcbb9710c87dcadab7dba5af52cb94b06625ac'/>
<id>urn:sha1:fefcbb9710c87dcadab7dba5af52cb94b06625ac</id>
<content type='text'>
 - Some of the error/cleanup paths are merged.
 - Struct fields don't have to be set to NULL if the entire struct is
   free'd immediately after.

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