about summary refs log tree commit diff
path: root/src/portab/portabtest.c
AgeCommit message (Collapse)Author
2020-02-15Fix memory leak in portabtest Check_strtok_r()Alexander Barton
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
2015-08-01Whitespace fixes (no functional changes)Alexander Barton
2014-03-17Update copyright notices of recently changed filesAlexander Barton
2014-03-17Remove imp.h and exp.h header filesAlexander Barton
These include files don't have a function any more, remove them.
2014-01-17Fix configure script and "make check" for TCP WrappersAlexander Barton
Add missing #include's and static variables. Problem spotted on OpenBSD.
2014-01-04Support non-standard vsnprintf() return codeAlexander Barton
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 ...
2014-01-01portabtest: Add checks for strdup(), strndup(), and strtok_r()Alexander Barton
2014-01-01portabtest: Actually test functionsAlexander Barton
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 ...).
2013-12-29portabtest: Only use one exit code to indicate errorsAlexander Barton
2013-12-29portabtest: Code cleanupAlexander Barton
2011-02-13Code cleanup: mostly removing empty linesAlexander Barton
2011-02-13Add Doxygen @file documentation to each source and header fileAlexander Barton
2005-07-31Removed unnecessary #define of "LOCAL", now use plain C "static" instead.Alexander Barton
2005-03-19Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.Florian Westphal
use stdbool.h / inttypes.h if available.
2003-01-04- Check functions only on systems that support prototypes, elder cpmpilersAlexander Barton
become confused instead!
2002-12-26- added tests for replacement functions.Alexander Barton
2002-12-12- new file header format.Alexander Barton
2002-09-09- Testprogramm ueberarbeitet, macht nun selber keine Ausgaben mehr.Alexander Barton
2002-09-09- Anpassungen an neue Test-Suite (Ausgabeformat).Alexander Barton
2002-06-26- Reihenfolge der Tests geaendert. Ist "huebscher" :-)Alexander Barton
2002-05-30- Weitere Anpassungen an pre-ANSI-Compiler.Alexander Barton
2002-05-27- Anpassungen an pre-ANSI-Compiler.Alexander Barton
2002-03-12- Informationen um "Vendor" ergaenzt.Alexander Barton
2002-03-12- der System-Typ wird nun wieder korrekt ermittelt und verwendet.Alexander Barton
2002-03-12- externe portab-Header werden nicht mehr benoetigt. Notwendige Teile sindAlexander Barton
nun im ngIRCd-Source-Tree enthalten.