<feed xmlns='http://www.w3.org/2005/Atom'>
<title>notmuch/compat, branch debian/0.17-4</title>
<subtitle>thread-based email index, search, and tagging</subtitle>
<id>https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.17-4</id>
<link rel='self' href='https://git.notmuchmail.org/git/notmuch/atom?h=debian%2F0.17-4'/>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/'/>
<updated>2013-08-23T15:57:35Z</updated>
<entry>
<title>timegm: add portable implementation (Solaris support)</title>
<updated>2013-08-23T15:57:35Z</updated>
<author>
<name>Blake Jones</name>
<email>blakej@foo.net</email>
</author>
<published>2013-08-21T11:09:54Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8c6b2e7e9d30bb3a9ef4fd8632cbf6d8d0673bb7'/>
<id>urn:sha1:8c6b2e7e9d30bb3a9ef4fd8632cbf6d8d0673bb7</id>
<content type='text'>
The timegm(3) function is a non-standard extension to libc which is
available in GNU libc and on some BSDs.  Although SunOS had this
function in its libc, Solaris (unfortunately) removed it.  This patch
implements a very simple version of timegm() which is good enough for
parse-time-string.c.

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>strsep: check for availability (Solaris support)</title>
<updated>2013-08-23T15:55:39Z</updated>
<author>
<name>Blake Jones</name>
<email>blakej@foo.net</email>
</author>
<published>2013-08-16T14:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=43843745dcbf31e96f447410e335a8d2aa21b00d'/>
<id>urn:sha1:43843745dcbf31e96f447410e335a8d2aa21b00d</id>
<content type='text'>
Solaris does not ship a version of the strsep() function.  This change
adds a check to "configure" to see whether notmuch needs to provide its
own implementation, and if so, it uses the new version in
"compat/strsep.c" (which was copied from Mutt, and apparently before
that from glibc).

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>asctime: check for standards compliance (Solaris support)</title>
<updated>2013-08-23T15:55:23Z</updated>
<author>
<name>Vladimir Marek</name>
<email>vlmarek@volny.cz</email>
</author>
<published>2013-08-16T14:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f'/>
<id>urn:sha1:49a0b96486242ca4fc4d26e5b01a34e9df7a9f9f</id>
<content type='text'>
Add checks to "configure" to see whether _POSIX_PTHREAD_SEMANTICS needs
to be defined to get the right number of arguments in the prototypes for
asctime_r().  Solaris' default implementation conforms to POSIX.1c
Draft 6, rather than the final POSIX.1c spec.  The standards-compliant
version can be used by defining _POSIX_PTHREAD_SEMANTICS.

This change also adds the file "compat/check_asctime.c", which
configure uses to perform its check, and modifies compat/compat.h to
define _POSIX_PTHREAD_SEMANTICS if configure detected it was needed.

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>getpwuid: check for standards compliance (Solaris support)</title>
<updated>2013-08-23T15:53:17Z</updated>
<author>
<name>Blake Jones</name>
<email>blakej@foo.net</email>
</author>
<published>2013-08-16T14:38:14Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=31c7001c99e042c2722217410d8a913875d44149'/>
<id>urn:sha1:31c7001c99e042c2722217410d8a913875d44149</id>
<content type='text'>
Add checks to "configure" to see whether _POSIX_PTHREAD_SEMANTICS needs
to be defined to get the right number of arguments in the prototypes for
getpwuid_r().  Solaris' default implementation conforms to POSIX.1c
Draft 6, rather than the final POSIX.1c spec.  The standards-compliant
version can be used by defining _POSIX_PTHREAD_SEMANTICS.

This change also adds the file "compat/check_getpwuid.c", which
configure uses to perform its check, and modifies compat/compat.h to
define _POSIX_PTHREAD_SEMANTICS if configure detected it was needed.

Signed-off-by: Vladimir Marek &lt;vlmarek@volny.cz&gt;
</content>
</entry>
<entry>
<title>Extend compat/README</title>
<updated>2012-09-27T15:51:01Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2012-09-24T15:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=8f0a4c80ff4599ec3073e405a983242145f29638'/>
<id>urn:sha1:8f0a4c80ff4599ec3073e405a983242145f29638</id>
<content type='text'>
Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
<entry>
<title>Provide a NORETURN_ATTRIBUTE macro similar to PRINTF_ATTRIBUTE</title>
<updated>2012-09-27T15:50:22Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2012-09-24T15:21:16Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=25d97b97914e2bddc1b1d82ac5ebbe8608ad8e74'/>
<id>urn:sha1:25d97b97914e2bddc1b1d82ac5ebbe8608ad8e74</id>
<content type='text'>
This attribute is understood by gcc since version 2.5. clang provides
support for testing for function attributes using __has_attribute. For
other compilers this macro evaluates to the empty string.

Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
<entry>
<title>Provide a __has_attribute compatibility macro</title>
<updated>2012-09-27T15:49:13Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2012-09-24T15:21:15Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=da12807734cc90d8bf78ce5814636aaf5a18827b'/>
<id>urn:sha1:da12807734cc90d8bf78ce5814636aaf5a18827b</id>
<content type='text'>
__has_attribute is defined by clang and tests whether a given function
attribute is supported by clang.

Add a compatibility macro for other compilers.

Signed-off-by: Justus Winter &lt;4winter@informatik.uni-hamburg.de&gt;
</content>
</entry>
<entry>
<title>Silence buildbot warnings about unused results</title>
<updated>2012-01-21T12:49:50Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-01-19T22:29:19Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=a9a9e374e2567caad8601d1781a3b0af8a3dde13'/>
<id>urn:sha1:a9a9e374e2567caad8601d1781a3b0af8a3dde13</id>
<content type='text'>
This ignores the results of the two writes in sigint handlers even
harder than before.

While my libc lacks the declarations that trigger these warnings, this
can be tested by adding the following to notmuch.h:

__attribute__((warn_unused_result))
ssize_t write(int fd, const void *buf, size_t count);
</content>
</entry>
<entry>
<title>Fix dependency generation for compat, test, and util</title>
<updated>2012-01-19T13:19:12Z</updated>
<author>
<name>Austin Clements</name>
<email>amdragon@MIT.EDU</email>
</author>
<published>2012-01-15T20:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=5c12ee4b5d942b5c9efc79922d25b1cf9934aab0'/>
<id>urn:sha1:5c12ee4b5d942b5c9efc79922d25b1cf9934aab0</id>
<content type='text'>
This adds source files in compat, test, and util to SRCS so that the
top-level Makefile.local will generate dependency files for them.
</content>
</entry>
<entry>
<title>fix sum moar typos [text files]</title>
<updated>2011-06-23T22:40:50Z</updated>
<author>
<name>Pieter Praet</name>
<email>pieter@praet.org</email>
</author>
<published>2011-06-20T20:14:21Z</published>
<link rel='alternate' type='text/html' href='https://git.notmuchmail.org/git/notmuch/commit/?id=18bf91def97157538bca1b8aac5e624880c8f62e'/>
<id>urn:sha1:18bf91def97157538bca1b8aac5e624880c8f62e</id>
<content type='text'>
Various typo fixes in auxiliary text files included with the source,
(README, TODO, etc.).

Signed-off-by: Pieter Praet &lt;pieter@praet.org&gt;

Edited-by: Carl Worth &lt;cworth@cworth.org&gt; Restricted to just text files.
</content>
</entry>
</feed>
