<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/io/src/win32, branch master</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=master</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2023-08-10T07:28:27+00:00</updated>
<entry>
<title>Move dir_iterator_t from libio into libsquashfs</title>
<updated>2023-08-10T07:28:27+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-15T15:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0a1d93062463133e6f40e3398c0fe53371c47ab0'/>
<id>urn:sha1:0a1d93062463133e6f40e3398c0fe53371c47ab0</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Refactor: rename dir_iterator_t to sqfs_dir_iterator_t</title>
<updated>2023-08-10T07:28:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-15T12:51:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=f572a1ed601267438c34c61a201ae1ab051da7a3'/>
<id>urn:sha1:f572a1ed601267438c34c61a201ae1ab051da7a3</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Implement pen_file_ro method in native dir iterators</title>
<updated>2023-08-10T07:26:59+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-15T11:33:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a7bf75ebdb991092dd9165db99acfa034166fb43'/>
<id>urn:sha1:a7bf75ebdb991092dd9165db99acfa034166fb43</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: dir iterator: merge common code paths for initialization</title>
<updated>2023-08-10T07:26:59+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-13T18:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b79fa32baf127c30d386888c3830129e132a855d'/>
<id>urn:sha1:b79fa32baf127c30d386888c3830129e132a855d</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Refactor: rename dir_entry_t to sqfs_dir_entry_t</title>
<updated>2023-07-03T07:31:51+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-07-02T17:31:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=ec593e0b94656a5481f82ee0f33728ced297ac48'/>
<id>urn:sha1:ec593e0b94656a5481f82ee0f33728ced297ac48</id>
<content type='text'>
Exact operation performed:

	git ls-files -z | \
	xargs -0 sed -i -e 's/dir_entry_t/sqfs_dir_entry_t/g

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libcompat: Add a helper to get/set OS error state</title>
<updated>2023-06-15T16:13:26+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T16:13:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8bff2715bfdfd2e6ce0c707f1310b169d4e454d0'/>
<id>urn:sha1:8bff2715bfdfd2e6ce0c707f1310b169d4e454d0</id>
<content type='text'>
On Unix like OSes, this saves/restores errno, on Windows both errno
and GetLastError state are saved/restored.

This should make it simpler to preserve that across function calls.

Additionally, while tracking down uses of GetLastError, some places
where the error code was printed out directly where replaced with
instances of w32_perror.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Migrate file istream/ostream from libio to libsquashfs</title>
<updated>2023-06-15T13:16:03+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T13:16:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=484cd01590ec488cca1f8a5c7c76cd223609e299'/>
<id>urn:sha1:484cd01590ec488cca1f8a5c7c76cd223609e299</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: split stdin/stdout code from the rest of the file streams</title>
<updated>2023-06-15T12:23:47+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T12:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8cf84b4995552bad4e77eb795e36c0b1d65a720a'/>
<id>urn:sha1:8cf84b4995552bad4e77eb795e36c0b1d65a720a</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Overhaul sqfs_istream_t/sqfs_ostream_t error handling</title>
<updated>2023-06-15T12:09:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-13T21:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=fd5c9f1259d0191af57b20f06dda35e62acb6275'/>
<id>urn:sha1:fd5c9f1259d0191af57b20f06dda35e62acb6275</id>
<content type='text'>
Report an error number from the implementations, change the users to
forward that error number (which also means libtar write header/link
now returns an error code) and all subsequent binaries to use
sqfs_perror() instead of relying on the function to print an error
internally.

Also, make sure to preserve errno/GetLastError() in the implementations
and print out a stringified error in sqfs_perror() if the error code
indicates an I/O error.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libsquashfs: Add sqfs_open_native_file function</title>
<updated>2023-06-15T11:38:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-12T21:17:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=89cdef0859259fdea0165b0d3918777d1ed42955'/>
<id>urn:sha1:89cdef0859259fdea0165b0d3918777d1ed42955</id>
<content type='text'>
Having a function to interpret the flags and open a native file handle
simplifies the istream/ostream/file code which shares that decoding
part, particularly on windows where the character set needs to be
transformed.

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