<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/sqfs/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-06-16T01:51:11+00:00</updated>
<entry>
<title>libsquashfs: merge windows &amp; unix file I/O primitives</title>
<updated>2023-06-16T01:51:11+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T23:41:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=c81e80bf35874696d9735f70e5c8327f92b5aca4'/>
<id>urn:sha1:c81e80bf35874696d9735f70e5c8327f92b5aca4</id>
<content type='text'>
By adding additional close/duplicate primitives, the remaining, mostly
identical istream/ostream/file code is mostly identical between Windows
and Unix and be merged, mostly without stitches.

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>libsquashfs: cleanup the flag situation on istream/ostream functions</title>
<updated>2023-06-15T14:39:14+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-15T14:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=849e6718448793b12d7c6641d59779ca12a2ba08'/>
<id>urn:sha1:849e6718448793b12d7c6641d59779ca12a2ba08</id>
<content type='text'>
 - The ostream creation functions already have flag arguments,
   but make them an sqfs_u32 instead of int.
 - Add flag arguments to the istream functions, sanitzie and forward
   them when opening the handle.

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>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>
<entry>
<title>libsquashfs: Add a get_filename function to sqfs_file_t</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-12T20:00:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=043495538ebaf02adba6d40764fb3e6def65cb09'/>
<id>urn:sha1:043495538ebaf02adba6d40764fb3e6def65cb09</id>
<content type='text'>
Similar to the sqfs_istream_t &amp; sqfs_ostream_t interfaces.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move library source into src sub-directory</title>
<updated>2023-01-31T12:51:49+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-01-31T10:21:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=cdccc69c62579b0c13b35fad0728079652b8f3c9'/>
<id>urn:sha1:cdccc69c62579b0c13b35fad0728079652b8f3c9</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
