<feed xmlns='http://www.w3.org/2005/Atom'>
<title>makepnd.git/lib/libalpm, branch makepnd</title>
<subtitle>makepnd-ng
</subtitle>
<id>https://git.cloudef.pw/makepnd.git/atom?h=makepnd</id>
<link rel='self' href='https://git.cloudef.pw/makepnd.git/atom?h=makepnd'/>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/'/>
<updated>2017-07-06T04:48:03Z</updated>
<entry>
<title>alpm_list: abort on memory allocation failure</title>
<updated>2017-07-06T04:48:03Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-05-10T22:54:55Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=bcc9c417ae989ffda193083807142171c7a0190f'/>
<id>urn:sha1:bcc9c417ae989ffda193083807142171c7a0190f</id>
<content type='text'>
This makes it possible to detect a failure in several alpm_list
functions.  Previously these functions would continue after a failure,
returning partial results and potentially leaking memory.
Unfortunately, NULL is a valid return value for the affected functions
if the input list is empty, so they still do not have a dedicated error
value.  Callers can at least detect an error by checking if the input
list was empty.

Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>fix typo in libalpm comment</title>
<updated>2017-07-06T02:54:34Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2017-06-06T19:29:09Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=3c433abb54e8bc01bed0b2263ded0c339a58585a'/>
<id>urn:sha1:3c433abb54e8bc01bed0b2263ded0c339a58585a</id>
<content type='text'>
contatenate -&gt; concatenate

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>alpm_unlock: check handle before dereferencing</title>
<updated>2017-05-16T02:38:58Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-05-10T22:54:53Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=1bc79cb9a5067d685ba507fad9b189ed28ad70a0'/>
<id>urn:sha1:1bc79cb9a5067d685ba507fad9b189ed28ad70a0</id>
<content type='text'>
Prevents SIGSEGV if we catch SIGINT or SIGHUP before initializing alpm.

Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>free memory for --overwrite lists</title>
<updated>2017-05-08T08:53:55Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-04-22T21:34:11Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=bf468c09562ecfa552f514c9f897742b309e64ee'/>
<id>urn:sha1:bf468c09562ecfa552f514c9f897742b309e64ee</id>
<content type='text'>
Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>be_sync: error out if a db cannot be parsed</title>
<updated>2017-05-08T08:53:54Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-04-17T03:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=bf23f85d4a844b8e8c70125bce54bbda90cb0019'/>
<id>urn:sha1:bf23f85d4a844b8e8c70125bce54bbda90cb0019</id>
<content type='text'>
Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>run_chroot: label pipe endpoints for readability</title>
<updated>2017-04-16T23:41:35Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-04-16T12:36:32Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=3c013f68ac06d791830fd722b17bc771df47d436'/>
<id>urn:sha1:3c013f68ac06d791830fd722b17bc771df47d436</id>
<content type='text'>
Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
</content>
</entry>
<entry>
<title>use sockets for scriptlet/hook communication</title>
<updated>2017-04-16T23:41:35Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-04-15T22:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=6a4c6a02de9b45abe4c0f78c4f5d14d92d3359d6'/>
<id>urn:sha1:6a4c6a02de9b45abe4c0f78c4f5d14d92d3359d6</id>
<content type='text'>
If a scriptlet/hook dies at the wrong moment it can trigger SIGPIPE,
terminating the process.  For pipes, there is no way to prevent SIGPIPE
other than ignoring it process-wide.  This can have unintended
consequences in a multi-threaded process.  Using send(2) with sockets,
however, allows ignoring SIGPIPE on a per-call basis, leaving other
threads able to make use of SIGPIPE.

Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
</content>
</entry>
<entry>
<title>conflict: include owner for filesystem conflicts</title>
<updated>2017-04-16T23:41:35Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-04-15T22:12:56Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=6d1dcf7937ba3739d17eda614591d1f59ac0bf3a'/>
<id>urn:sha1:6d1dcf7937ba3739d17eda614591d1f59ac0bf3a</id>
<content type='text'>
Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
</content>
</entry>
<entry>
<title>unlink_file: strip trailing slashes</title>
<updated>2017-04-16T23:41:35Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-04-09T23:49:17Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=16b91f798faf6413f9b043543c5c0c3467b6fdbf'/>
<id>urn:sha1:16b91f798faf6413f9b043543c5c0c3467b6fdbf</id>
<content type='text'>
If the user replaces a directory with a symlink, libalpm would get
confused because the trailing slash causes system calls to resolve the
symlink.  This leads to errors and a misleading message during upgrades.
Even though libalpm does not support this, it should not be giving
misleading errors.

Also adds an overflow check.

Fixes FS#51377

Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
</content>
</entry>
<entry>
<title>sortbydeps: rename vptr -&gt; i</title>
<updated>2017-04-16T12:29:55Z</updated>
<author>
<name>Andrew Gregory</name>
<email>andrew.gregory.8@gmail.com</email>
</author>
<published>2017-04-15T21:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=f9de3b22ad9e532af14c8d5b0b90a3f0f747e331'/>
<id>urn:sha1:f9de3b22ad9e532af14c8d5b0b90a3f0f747e331</id>
<content type='text'>
vptr is a simple list iterator, which are typically named i.

Signed-off-by: Andrew Gregory &lt;andrew.gregory.8@gmail.com&gt;
</content>
</entry>
</feed>
