<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/comp, branch v0.5</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=v0.5</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.5'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2019-07-25T12:20:48+00:00</updated>
<entry>
<title>Replace reads in squashfs with positional reads</title>
<updated>2019-07-25T12:20:48+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T12:16:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=f8346498604f417415c131e3c6dbf66e6643254e'/>
<id>urn:sha1:f8346498604f417415c131e3c6dbf66e6643254e</id>
<content type='text'>
In most cases, we know exactely where the data that we want to read is
on disk, so instead of using read() on the squashfs (or lseek + read),
the code can in many places be cleaned up to use the pread wrapper
read_data_at instead.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Include the reason ZSTD gave us for the error</title>
<updated>2019-07-24T07:17:30+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2019-07-23T20:22:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=4b0c21183e1a29f3bb5eb8af4d13467e05f6d36b'/>
<id>urn:sha1:4b0c21183e1a29f3bb5eb8af4d13467e05f6d36b</id>
<content type='text'>
Without it you're left guessing or using a debugger to figure out what's
wrong.

Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Enable largefile support</title>
<updated>2019-07-24T07:16:16+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2019-07-23T20:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=05a30292f9d2be63af3b4c27d5ae89801da602a2'/>
<id>urn:sha1:05a30292f9d2be63af3b4c27d5ae89801da602a2</id>
<content type='text'>
Requires that config.h be included before other headers, since the macro
_FILE_OFFSET_BITS changes the definitions of things like 'struct stat'.
I chose to simply include it at the top of every C file and at
immediately after the double-inclusion guards of every header.

Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: move error handling into read_retry</title>
<updated>2019-07-16T20:48:00+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-16T19:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e3ef871d6a80d72db02c9ab1ef492e8f58c2ddeb'/>
<id>urn:sha1:e3ef871d6a80d72db02c9ab1ef492e8f58c2ddeb</id>
<content type='text'>
If read_retry fails to read the expected amount of data (EOF or otherwise),
it is almost always an error.

This commit renames read_retry to read_data and moves error handling
into the function, making a lot of error handling code redundant.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: move error handling into write_retry</title>
<updated>2019-07-16T20:47:59+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-16T17:29:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=bfd876dbf151df164b4d87de20aec39b24f205f9'/>
<id>urn:sha1:bfd876dbf151df164b4d87de20aec39b24f205f9</id>
<content type='text'>
If write_retry fails to write everything, it is *always* an error.

This commit renames write_retry to write_data and moves error handling
into the function, making a lot of error handling code redundant.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: possible out of bounds read in libcompress.a</title>
<updated>2019-07-04T17:20:26+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-04T17:19:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=5161ab16583f5e619050d3bead0f49cd47dff66e'/>
<id>urn:sha1:5161ab16583f5e619050d3bead0f49cd47dff66e</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix memory leak in gzip compressor</title>
<updated>2019-07-01T07:16:48+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-01T07:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=6a810548bb9ea0f950ad8cf0a2c008e1cd8fcf23'/>
<id>urn:sha1:6a810548bb9ea0f950ad8cf0a2c008e1cd8fcf23</id>
<content type='text'>
Don't allocate the compressor structure twice.

Bug found using scan-build.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move all handling of compressor names to libcompress.a</title>
<updated>2019-06-23T00:37:08+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-23T00:14:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0b22d6ad0ebed2af239259dbfa36cd9920c6f4a2'/>
<id>urn:sha1:0b22d6ad0ebed2af239259dbfa36cd9920c6f4a2</id>
<content type='text'>
This commit removes handling of compressor names from gensquashfs. Instead,
functions are added to libcompress to obtain name from ID, ID from name
and to print out defaults.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup dependency handling</title>
<updated>2019-06-11T13:06:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T13:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a3a47476c5ceed1688e37a5af8a5a988b504832e'/>
<id>urn:sha1:a3a47476c5ceed1688e37a5af8a5a988b504832e</id>
<content type='text'>
Always try to gather all compressor libraries available, but only
complain about missing a one if it has been *explicitly* selected.

If a compressor has been explicityl disabled, we can still turn it
off after checking.

Also, rework gensquashfs to set the default compressor based on
what's available.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add options for lzma2 compressor</title>
<updated>2019-05-24T22:00:23+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-05-24T22:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d1dc5192d9cf6b439133606cca3a11ea434dee11'/>
<id>urn:sha1:d1dc5192d9cf6b439133606cca3a11ea434dee11</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
