about summary refs log tree commit diff
path: root/src/portab/portab.h
AgeCommit message (Collapse)Author
2024-02-10Remove outdated, unsupported and broken support for splint(1)Alexander Barton
2023-01-02Make the debug loglevel always availablemichi
This basically means to unifdef DEBUG in (almost) all places. We keep it in src/portab/portab.h so DEBUG stays available to enable assert(). Also add a comment about this.
2020-04-20Unbreak GCC 10 (-fno-common) buildmichi
2016-07-22Make sure that SYSCONFDIR is always setAlexander Barton
This is useful when ./configure hasn't been run but some source code linters are run in an editor, for example.
2014-03-17portab.h: Restructure and clean up codeAlexander Barton
- Don't use HAVE_SYS_TYPES_H, <sys/types.h> is a required header now. - Streamline check for boolean data types. - Better indent #ifdef constructs.
2014-03-16Code cleanup, remove blank linesAlexander Barton
2013-08-26private strndup() implementation in case libc does not provide itFederico G. Schwindt
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-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-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.
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-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.
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-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-03- Added missing PARAMS().Alexander Barton
2002-12-26- include <sys/types.h>, if available.Alexander Barton
2002-12-26- added prototypes for replacement functions.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-06-26- neues #define: REGISTERAlexander Barton
2002-05-27- Anpassungen an pre-ANSI-Compiler.Alexander Barton
2002-05-19- Definition von "signed" wieder entfernt: mehr Schaden als Nutzen :-/Alexander Barton
2002-05-19- Dummy fuer inet_aton() entfernt. "signed" wird bei Bedarf definiert.Alexander Barton
2002-03-25- neuer Header splint.h fuer Code-Check mit SPLint.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.