Alexander Barton
77f54693ef
Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
2005-07-31 20:13:07 +00:00
Florian Westphal
77faf14b29
use strdup() to add oper hostname mask.
2005-04-16 09:23:01 +00:00
Florian Westphal
8b17579e60
private strdup() implementation in case libc does not provide it.
2005-04-16 09:20:53 +00:00
Alexander Barton
ca8ab38cac
Use typedef instead of #define to declare the socklen_t type if needed.
2005-04-09 18:27:16 +00:00
Alexander Barton
4d0b03b423
Debine NDEBUG if DEBUG isn't defined to disable all assert() checks as well.
2005-03-30 16:37:02 +00:00
Florian Westphal
8adff59223
Remove INT, LONG, BOOLEAN, STATIC, CONST, CHAR datatypes.
...
use stdbool.h / inttypes.h if available.
2005-03-19 18:43:48 +00:00
Alexander Barton
3da942e237
Updated to latest strl{cat|cpy} code of rsync:
...
- 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-02-27 09:29:13 +00:00
Alexander Barton
6c5f4beb53
Fixed return values of our own implementation of strlcpy(). The code has
...
been taken from rsync and they fixed it, but we didn't until today :-/
2005-01-18 09:05:37 +00:00
Alexander Barton
f697923c48
Fixed detection of GNU C version and usability of __attribute__.
2004-03-15 19:26:39 +00:00
Alexander Barton
c53903eb3f
Use "__attribute__" only if gcc is at least version 2.7
2004-01-17 03:22:46 +00:00
Alexander Barton
daa996f177
Added missing prototype for dummy_snprintf().
2003-04-21 10:53:38 +00:00
Alexander Barton
016e547daa
Re-corrected test for CVS version.
2003-03-31 19:01:02 +00:00
Alexander Barton
f53455977d
Added #include for stdarg.h when using ower own version of vsnprintf().
2003-03-17 01:12:10 +00:00
Alexander Barton
9ca1f6a988
Removed now obsolete test for A/UX: configure does this job now.
2003-03-17 00:53:52 +00:00
Alexander Barton
444fdcf905
- Check functions only on systems that support prototypes, elder cpmpilers
...
become confused instead!
2003-01-04 10:40:01 +00:00
Alexander Barton
8139505829
- Link portabtest agains "true" library.
2003-01-03 22:04:14 +00:00
Alexander Barton
c9540015c8
- Added missing PARAMS().
2003-01-03 22:03:51 +00:00
Alexander Barton
4f6f84e7e1
- include <sys/types.h>, if available.
2002-12-26 14:48:05 +00:00
Alexander Barton
b8456d1ba6
- addes required libngircd.a library to portabcheck_LDADD.
2002-12-26 14:46:28 +00:00
Alexander Barton
fbdf85b553
- strlcat() and strlcpy() replacement functions.
2002-12-26 14:34:11 +00:00
Alexander Barton
e13cb291dd
- added prototypes for replacement functions.
2002-12-26 13:26:34 +00:00
Alexander Barton
5efd0987f3
- added tests for replacement functions.
2002-12-26 13:19:36 +00:00
Alexander Barton
60cf07c875
- added strlcpy.c for strlcpy() and strlcat() replacement functions.
2002-12-26 13:18:46 +00:00
Alexander Barton
f0d633b5ac
- new file header format.
2002-12-12 11:37:11 +00:00
Alexander Barton
6725d7893c
- translated file header and comments to english;
...
- new file ident semantics.
2002-12-12 11:26:08 +00:00
Alexander Barton
84022a12fd
- neue Datentypen LONG, ULONG und DOUBLE.
2002-10-09 16:53:30 +00:00
Alexander Barton
dd4535b7f1
- Testprogramm ueberarbeitet, macht nun selber keine Ausgaben mehr.
2002-09-09 10:05:10 +00:00
Alexander Barton
1734e53410
- Anpassungen an neue Test-Suite (Ausgabeformat).
2002-09-09 10:00:39 +00:00
Alexander Barton
cf9629b9c7
- neues #define: REGISTER
2002-06-26 15:43:38 +00:00
Alexander Barton
c1a278b0eb
- Reihenfolge der Tests geaendert. Ist "huebscher" :-)
2002-06-26 12:48:20 +00:00
Alexander Barton
f7327524fc
- Weitere Anpassungen an pre-ANSI-Compiler.
2002-05-30 16:52:20 +00:00
Alexander Barton
ba258e65a0
- Anpassungen an pre-ANSI-Compiler.
2002-05-27 13:00:50 +00:00
Alexander Barton
cc0a694c36
- alten CVS-ID-Tag entfernt; ansi2knr.c ist direkt von automake uebernommen.
2002-05-22 09:44:50 +00:00
Alexander Barton
af9b97b55f
- ansi2knr zum CVS-Tree hinzugefuegt.
2002-05-22 09:44:07 +00:00
Alexander Barton
8430c55733
- "ansi2knr" zur "DeANSIfikation" als automake-Option gesetzt.
2002-05-22 09:09:43 +00:00
Alexander Barton
0fb57ecffc
- Definition von "signed" wieder entfernt: mehr Schaden als Nutzen :-/
2002-05-19 10:49:23 +00:00
Alexander Barton
237c761f67
- Dummy fuer inet_aton() entfernt. "signed" wird bei Bedarf definiert.
2002-05-19 10:46:08 +00:00
Alexander Barton
c5461c4596
- Code aufgeraeumt, Tests auf C99-vsnprintf() entfernt (fuer ngIRCd unnoetig).
2002-05-19 10:44:52 +00:00
Alexander Barton
679565603a
- neue Library "ngportab" begonnen: diese bildet Funktionen nach, die auf
...
dem Ziel-System nicht vorhanden sind -- wie z.B. vsnprintf().
2002-05-19 01:17:40 +00:00
Alexander Barton
8d79f26721
- neuer Header splint.h fuer Code-Check mit SPLint.
2002-03-25 19:13:19 +00:00
Alexander Barton
31015c8306
- portabtest wird nur noch compiliert, wenn benoetigt (z.B. "make check")
2002-03-15 15:41:55 +00:00
Alexander Barton
e298b83b92
- Informationen um "Vendor" ergaenzt.
2002-03-12 21:47:40 +00:00
Alexander Barton
7049b60af4
- der System-Typ wird nun wieder korrekt ermittelt und verwendet.
2002-03-12 15:19:12 +00:00
Alexander Barton
d18ca0b85d
- externe portab-Header werden nicht mehr benoetigt. Notwendige Teile sind
...
nun im ngIRCd-Source-Tree enthalten.
2002-03-12 14:36:44 +00:00