about summary refs log tree commit diff
path: root/src/portab/strlcpy.c
AgeCommit message (Collapse)Author
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 :-/
2002-12-26- strlcat() and strlcpy() replacement functions.Alexander Barton
2002-12-26- added strlcpy.c for strlcpy() and strlcat() replacement functions.Alexander Barton