<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/src/portab/portabtest.c, branch master</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=master</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2020-02-15T13:56:07+00:00</updated>
<entry>
<title>Fix memory leak in portabtest Check_strtok_r()</title>
<updated>2020-02-15T13:56:07+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2020-02-15T13:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=8d173a33286f47ac5678a8ce8cdd756295342cb1'/>
<id>urn:sha1:8d173a33286f47ac5678a8ce8cdd756295342cb1</id>
<content type='text'>
Fix the following Clang "LeakSanitizer" error (which isn't quite
relevant in this test program, but anyway):

  ERROR: LeakSanitizer: detected memory leaks

  Direct leak of 7 byte(s) in 1 object(s) allocated from:
      #0 0x7f8c4d022810 in strdup (/lib/x86_64-linux-gnu/libasan.so.5+0x3a810)
      #1 0x5601a801491a in Check_strtok_r (/net/arthur/home/alex/Develop/ngIRCd/ngIRCd.git/src/portab/portabtest+0x291a)
      #2 0x5601a8014d77 in main (/net/arthur/home/alex/Develop/ngIRCd/ngIRCd.git/src/portab/portabtest+0x2d77)
      #3 0x7f8c4c69009a in __libc_start_main ../csu/libc-start.c:308

  SUMMARY: AddressSanitizer: 7 byte(s) leaked in 1 allocation(s).
  FAIL: portabtest
</content>
</entry>
<entry>
<title>Whitespace fixes (no functional changes)</title>
<updated>2015-08-01T13:15:30+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2015-08-01T13:15:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=9811223fb882413645db38948ac05fa21ddd3514'/>
<id>urn:sha1:9811223fb882413645db38948ac05fa21ddd3514</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright notices of recently changed files</title>
<updated>2014-03-17T11:22:00+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-03-17T01:13:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=a13bb78b1e7adf7c261ac427341c397ef9a6a1ed'/>
<id>urn:sha1:a13bb78b1e7adf7c261ac427341c397ef9a6a1ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove imp.h and exp.h header files</title>
<updated>2014-03-16T23:17:02+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-03-16T23:17:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=259c314d142abd6f9295047c116235cfdd119563'/>
<id>urn:sha1:259c314d142abd6f9295047c116235cfdd119563</id>
<content type='text'>
These include files don't have a function any more, remove them.
</content>
</entry>
<entry>
<title>Fix configure script and "make check" for TCP Wrappers</title>
<updated>2014-01-17T15:18:55+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-01-17T15:18:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=e747fe92775f577a38f8dd681f7a58f751348f5e'/>
<id>urn:sha1:e747fe92775f577a38f8dd681f7a58f751348f5e</id>
<content type='text'>
Add missing #include's and static variables.

Problem spotted on OpenBSD.
</content>
</entry>
<entry>
<title>Support non-standard vsnprintf() return code</title>
<updated>2014-01-04T22:57:05+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-01-04T22:57:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=5d88030bd1a197041f84530a88c2590e6bb1bbb1'/>
<id>urn:sha1:5d88030bd1a197041f84530a88c2590e6bb1bbb1</id>
<content type='text'>
C99 states that vsnprintf() "returns the number of characters that
would have been printed if the n were unlimited"; but according to the
Linux manual page "glibc until 2.0.6 would return -1 when the output
was truncated" -- so we have to handle both cases ...
</content>
</entry>
<entry>
<title>portabtest: Add checks for strdup(), strndup(), and strtok_r()</title>
<updated>2014-01-01T15:38:36+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-01-01T15:38:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=f024a4992a9a38d64d0fd63283cd0c484bdec683'/>
<id>urn:sha1:f024a4992a9a38d64d0fd63283cd0c484bdec683</id>
<content type='text'>
</content>
</entry>
<entry>
<title>portabtest: Actually test functions</title>
<updated>2014-01-01T14:57:34+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2014-01-01T14:57:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=d38747d951a8a5007e97693cade3551e11e50569'/>
<id>urn:sha1:d38747d951a8a5007e97693cade3551e11e50569</id>
<content type='text'>
Test functions snprintf(), strlcpy(), strlcat(), vsnprintf() for
correctness, not only existance (which was quite useless, because
if they weren't available, the program could not have been linked
at all ...).
</content>
</entry>
<entry>
<title>portabtest: Only use one exit code to indicate errors</title>
<updated>2013-12-29T16:48:25+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2013-12-29T16:48:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=18070e5381b7d66963dbe990c98b06b5c601e280'/>
<id>urn:sha1:18070e5381b7d66963dbe990c98b06b5c601e280</id>
<content type='text'>
</content>
</entry>
<entry>
<title>portabtest: Code cleanup</title>
<updated>2013-12-29T16:46:54+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2013-12-29T16:46:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=d913323ca9a0900e836bc4f786850f303c0486ea'/>
<id>urn:sha1:d913323ca9a0900e836bc4f786850f303c0486ea</id>
<content type='text'>
</content>
</entry>
</feed>
