about summary refs log tree commit diff
path: root/src/portab
AgeCommit message (Collapse)Author
2012-12-25Add Cygwin binaries (*.exe) to .gitignore filesAlexander Barton
2012-10-11Disable UID/GID checks on "single user OS"Alexander Barton
Don't abort on "single user operating systems" that don't know more than one user account and therefore can't change user and group IDs. Currently, the only such system supported by ngIRCd is Haiku, a BeOS clone.
2012-09-24Remove all geneerated Makefile.am on "make maintainer-clean"Alexander Barton
2012-09-24Include all build-system files into distribution archivesAlexander Barton
2012-09-23Change build system to support new and old GNU automakeAlexander Barton
Starting with GNU automake 1.12, the "de-ANSI-fication support" has been removed, which ngIRCd used to enable building itself on very old systems. Now the problem is, that using automake >= 1.12 isn't working because of the now unsupported M4 macros. Therefore the solution that this patch implements is to dynamically generate the automake input files with our own ./autogen.sh script: configure.ng => configure.in Makefile.ng => Makefile.am This is quite an ugly approach, but it works and enables us to: 1. use current automake >= 1.12 for development and "private builds", 2. still build distribution archives using automake 1.11.x that have "de-ANSI-fication support" enabled in the generated Makefile's. And if you are using Makefile's generated with a automake version newer than 1.11.x (without "de-ANSI-fication support"), the ./configure script warns you not to use this generated build system to generate distribution archives. Drawback of this patch: you MUST use our autogen.sh script, you can't call the autoconf/automake commands directly any more; but autoreconf should still work ...
2012-09-13configure.in: use AC_CANONICAL_HOST (not AC_CANONICAL_TARGET)Alexander Barton
See the autoconf manual for details: http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets
2011-11-06Test for gai_strerror()Alexander Barton
If gai_strerror() isn't available, use a macro that simply returns a static error message (regardless of the real error code). For example, GNU libc 2.0.7 doesn't implement gai_strerror().
2011-02-13Code cleanup: mostly removing empty linesAlexander Barton
2011-02-13Add Doxygen @file documentation to each source and header fileAlexander Barton
2010-10-19Only use "__attribute__ ((unused))" if GCC >=2.8 is usedAlexander Barton
At least GCC 2.7.2 doesn't support this attribute.
2008-11-13Added some missing files of GIT tree to distribution archivesAlexander Barton
The following bits and bytes were not included in distribution archives: - contrib: ngindent, ngircd.sh - contrib/Debian: ngircd.postinst - contrib/MacOSX: preinstall.sh, postinstall.sh - doc/src: Doxyfile, header.inc.html, footer.inc.html, ngircd-doc.css - src/portab: splint.h
2008-08-01Make ngIRCd compile and run on NeXTSTEP 3.3 and OPENSTEP 4.2Alexander Barton
by Steven D. Blackford <kb7sqi@aol.com>: "I wanted to let you know that I've done a quick port of ngircd-0.12.0 for NEXTSTEP3.3/OPENSTEP4.2. There wasn't a lot of changes required to get it to compile clean, but I did make the necessary changes so that I didn't have to use -posix flag. The NeXT has a pretty buggy POSIX implementation so I always try to work around it. :-) Anway, here's the changes required to get it to compile."
2008-05-26Use strtok_r instead of strchr in IRC_JOIN.Scott Perry
This patch does significant cleanup on the join code by using strtok_r instead of mangling strchr to parse channel names and keys in parallel when a JOIN command contains a list of channels and keys. Also adds an strtok_r implementation to libportab.
2008-04-09Added "portabtest" binary to .gitignore file in src/portabtest/.Alexander Barton
2008-04-09Moved .cvsignore files to .gitignoreAlexander Barton
Since we are using GIT starting from now, I converted all the .cvsignore files to .gitignore files.
2006-12-28added "portabtest" binary to list of files to ignore.Alexander Barton
2006-12-28Added .cvsignore files to hide generated files from CVS.Alexander Barton
2005-07-31Removed unnecessary #define of "LOCAL", now use plain C "static" instead.Alexander Barton
2005-04-16use strdup() to add oper hostname mask.Florian Westphal
2005-04-16private strdup() implementation in case libc does not provide it.Florian Westphal
2005-04-09Use typedef instead of #define to declare the socklen_t type if needed.Alexander Barton
2005-03-30Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.Alexander Barton
2005-03-19Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.Florian Westphal
use stdbool.h / inttypes.h if available.
2005-02-27Updated to latest strl{cat|cpy} code of rsync:Alexander Barton
- Make sure that strlcpy() returns the right value when the bufsize is 0. - Fixed a bug in strlcat() where it would not properly detect a no-change condition if called with an initial string longer than the specified size limit (due to an unsigned var's inability to go negative). Patch by Florian Westphal, <westphal@foo.fh-furtwangen.de>.
2005-01-18Fixed return values of our own implementation of strlcpy(). The code hasAlexander Barton
been taken from rsync and they fixed it, but we didn't until today :-/
2004-03-15Fixed detection of GNU C version and usability of __attribute__.Alexander Barton
2004-01-17Use "__attribute__" only if gcc is at least version 2.7Alexander Barton
2003-04-21Added missing prototype for dummy_snprintf().Alexander Barton
2003-03-31Re-corrected test for CVS version.Alexander Barton
2003-03-17Added #include for stdarg.h when using ower own version of vsnprintf().Alexander Barton
2003-03-17Removed now obsolete test for A/UX: configure does this job now.Alexander Barton
2003-01-04- Check functions only on systems that support prototypes, elder cpmpilersAlexander Barton
become confused instead!
2003-01-03- Link portabtest agains "true" library.Alexander Barton
2003-01-03- Added missing PARAMS().Alexander Barton
2002-12-26- include <sys/types.h>, if available.Alexander Barton
2002-12-26- addes required libngircd.a library to portabcheck_LDADD.Alexander Barton
2002-12-26- strlcat() and strlcpy() replacement functions.Alexander Barton
2002-12-26- added prototypes for replacement functions.Alexander Barton
2002-12-26- added tests for replacement functions.Alexander Barton
2002-12-26- added strlcpy.c for strlcpy() and strlcat() replacement functions.Alexander Barton
2002-12-12- new file header format.Alexander Barton
2002-12-12- translated file header and comments to english;Alexander Barton
- new file ident semantics.
2002-10-09- neue Datentypen LONG, ULONG und DOUBLE.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- neues #define: REGISTERAlexander 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-05-22- alten CVS-ID-Tag entfernt; ansi2knr.c ist direkt von automake uebernommen.Alexander Barton