<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/slcl, branch decode-url</title>
<subtitle>Small and lightweight cloud storage written in C99 and POSIX.1-2008.
</subtitle>
<id>https://gitea.privatedns.org/xavi/slcl/atom?h=decode-url</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/slcl/atom?h=decode-url'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/'/>
<updated>2023-11-11T23:15:57+00:00</updated>
<entry>
<title>libweb: Bump new signature for http_decode_url</title>
<updated>2023-11-11T23:15:57+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-11-11T23:01:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=c8e91394de5c9ff7f026736f72fca5939030558c'/>
<id>urn:sha1:c8e91394de5c9ff7f026736f72fca5939030558c</id>
<content type='text'>
The new signature allows callers to distinguish decoding errors from
fatal errors. This is important for slcl to avoid crashing when
ill-formed data is received from a client.
</content>
</entry>
<entry>
<title>README.md: Remove wrong comment about /tmp</title>
<updated>2023-10-25T20:29:48+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-25T20:29:48+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=fada861c5f00be5b2d86ca9e2667b57af50ad3d7'/>
<id>urn:sha1:fada861c5f00be5b2d86ca9e2667b57af50ad3d7</id>
<content type='text'>
/tmp is at least defined by POSIX.1-2017 at section 10 (Directory
Structure and Devices).
</content>
</entry>
<entry>
<title>Bump libweb to v0.1.0-rc6</title>
<updated>2023-10-25T20:13:23+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-25T13:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=4956df1891fade445e6ef5aac47ee94f1d21da24'/>
<id>urn:sha1:4956df1891fade445e6ef5aac47ee94f1d21da24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CMakeLists.txt: set project VERSION</title>
<updated>2023-10-25T20:13:23+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-25T11:44:36+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=fb6105b1b242775feab7f6ce069e70b796b4f700'/>
<id>urn:sha1:fb6105b1b242775feab7f6ce069e70b796b4f700</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump libweb to v0.1.0-rc5</title>
<updated>2023-10-25T20:13:23+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-15T22:43:38+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=fe59dacc14c064c3cb0336bf05771dffa5385275'/>
<id>urn:sha1:fe59dacc14c064c3cb0336bf05771dffa5385275</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace handwritten Makefile with configure script</title>
<updated>2023-10-25T20:13:23+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-15T23:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=6fa38f4d83dfd67bba9ef49bb2d1ece3a57e95d1'/>
<id>urn:sha1:6fa38f4d83dfd67bba9ef49bb2d1ece3a57e95d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CMake: Find system libweb or dynstr if available</title>
<updated>2023-10-25T11:45:12+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-15T20:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=b2be8b4658deea570b2a1890b6b45a7b2e95b615'/>
<id>urn:sha1:b2be8b4658deea570b2a1890b6b45a7b2e95b615</id>
<content type='text'>
So far, slcl's build system would always build libweb and dynstr.
However, this is discouraged by distribution packagers.
</content>
</entry>
<entry>
<title>usergen: Call mkdir(1) before database swap</title>
<updated>2023-10-19T15:35:39+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-19T13:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=fc3db3927747fc98fb1378f46f232ef932b773e0'/>
<id>urn:sha1:fc3db3927747fc98fb1378f46f232ef932b773e0</id>
<content type='text'>
No changes must be committed to the database if mkdir(1) fails.
</content>
</entry>
<entry>
<title>usergen: Replace use of non-standard mktemp(1)</title>
<updated>2023-10-19T15:35:38+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-19T13:34:24+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=8b24f8dcbbee5e888a32044c9c06eb4eff690a0e'/>
<id>urn:sha1:8b24f8dcbbee5e888a32044c9c06eb4eff690a0e</id>
<content type='text'>
Despite common use in several POSIX operating systems, mktemp(1) is not
defined by POSIX.1-2008, nor even POSIX.1-2017. As long as it is not
introduced, m4(1)'s mkstemp can be used with similar effect.
</content>
</entry>
<entry>
<title>main.c: Use BUFSIZ instead of arbitrary value</title>
<updated>2023-10-19T13:32:22+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-10-19T13:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=9376361bcb8e323c7041d19895f967b5bf3ba038'/>
<id>urn:sha1:9376361bcb8e323c7041d19895f967b5bf3ba038</id>
<content type='text'>
According to C99 7.19.1p3:

BUFSIZ is a macro that expands to an integer constant expression that is
the size of the buffer used by the setbuf function.

In other words, this means BUFSIZ is the most optimal length for a
buffer that reads a file into memory in chunks using fread(3).
</content>
</entry>
</feed>
