<feed xmlns='http://www.w3.org/2005/Atom'>
<title>skalibs/src/libstddjb, branch v2.9.3.0</title>
<subtitle>The skarnet.org C programming library</subtitle>
<id>https://git.skarnet.org/cgit/skalibs/atom/src/libstddjb?h=v2.9.3.0</id>
<link rel='self' href='https://git.skarnet.org/cgit/skalibs/atom/src/libstddjb?h=v2.9.3.0'/>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/'/>
<updated>2020-09-17T23:31:28Z</updated>
<entry>
<title> Add stralloc_readyplus_tuned, fix overflow on stralloc_readyplus</title>
<updated>2020-09-17T23:31:28Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-09-17T23:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=24f08a61e6456fb2bdf1382000a0b4b3bf910d45'/>
<id>urn:sha1:24f08a61e6456fb2bdf1382000a0b4b3bf910d45</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Fix alloc_realloc UB</title>
<updated>2020-04-29T19:08:19Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-04-29T19:08:19Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=038082c425c40037a28111934dfb5037edbcad8c'/>
<id>urn:sha1:038082c425c40037a28111934dfb5037edbcad8c</id>
<content type='text'>
 void ** does not exist: the address of a generic pointer is not
properly defined (different pointer types may have different
representations). So, alloc_realloc cannot exist as is without UB.
Fortunately, it's not supposed to be used in the skalibs programming
style, and skalibs itself only uses it in two places
(stralloc_ready_tuned and stralloc_shrink) where the pointer is a
char *.
 So we just fix the UB by making alloc_realloc() take a char **,
and it's only defined for that pointer type.
 Nothing to see here folks, nothing happened at all.
</content>
</entry>
<entry>
<title> bugfix: sigprocmask invocation on non-signalfd systems</title>
<updated>2020-04-04T12:52:31Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-04-04T12:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=dd6ebd3d063c1d3caa48cf14ae89d21aa5acf2c3'/>
<id>urn:sha1:dd6ebd3d063c1d3caa48cf14ae89d21aa5acf2c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Explicitly unblock signals when selfpiped without signalfd</title>
<updated>2020-02-26T17:18:47Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-02-26T17:18:47Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=37e31f79514acfdff8ede65b73542b7abb1e61a5'/>
<id>urn:sha1:37e31f79514acfdff8ede65b73542b7abb1e61a5</id>
<content type='text'>
 This is arguably a bugfix, since selfpipe without signalfd
relies on signals being actually delivered, and a process may
have inherited a nonempty sigprocmask.

 Also use SIG_BLOCK instead of SIG_SETMASK when using
selfpipe_trapset() with signalfd, because we shouldn't unblock
signals that may have previously been blocked. This is also
arguably a bugfix.

 This commit is essential for using the version of s6-linux-init
that blocks SIGINT before disablecad on kernels without signalfd.
Without it, SIGINT never gets unblocked, so it's never delivered
to s6-svscan.
</content>
</entry>
<entry>
<title> bugfix: env_merge didn't correctly handle variable removal</title>
<updated>2020-02-10T19:18:54Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-02-10T19:18:54Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=dd478a768bce79bcf6c627310e2ddb473667fecc'/>
<id>urn:sha1:dd478a768bce79bcf6c627310e2ddb473667fecc</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Make sagethostname() work with all glibcs</title>
<updated>2020-01-30T23:01:10Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2020-01-30T23:01:10Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=1c2fb80f178650da370cbf86e994a1d74be82a12'/>
<id>urn:sha1:1c2fb80f178650da370cbf86e994a1d74be82a12</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Real fix for undefined PATH_MAX</title>
<updated>2019-10-20T03:04:05Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2019-10-20T03:04:05Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=56c1fdfaf3d415b920aa98ab9d8f7ba2a5509708'/>
<id>urn:sha1:56c1fdfaf3d415b920aa98ab9d8f7ba2a5509708</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Don't rely on the existence of PATH_MAX</title>
<updated>2019-10-20T02:48:54Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2019-10-20T02:48:54Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=e7ea3358ef627675fbd4669516617688a7e3dd94'/>
<id>urn:sha1:e7ea3358ef627675fbd4669516617688a7e3dd94</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Fix path_canonicalize()'s returned length when absolute</title>
<updated>2019-10-10T18:08:36Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2019-10-10T18:08:36Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=e9f98a16d7b46332ec4986d890c5d2e26f081cc7'/>
<id>urn:sha1:e9f98a16d7b46332ec4986d890c5d2e26f081cc7</id>
<content type='text'>
</content>
</entry>
<entry>
<title> Add path_canonicalize, prepare for 2.9.1.0</title>
<updated>2019-10-09T15:07:23Z</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-skaware@skarnet.org</email>
</author>
<published>2019-10-09T15:07:23Z</published>
<link rel='alternate' type='text/html' href='https://git.skarnet.org/cgit/skalibs/commit/?id=f5e75663fef044cad02eef3eb7aef295312c1158'/>
<id>urn:sha1:f5e75663fef044cad02eef3eb7aef295312c1158</id>
<content type='text'>
</content>
</entry>
</feed>
