]> arthur.barton.de Git - ngircd-alex.git/commit
Updated to latest strl{cat|cpy} code of rsync:
authorAlexander Barton <alex@barton.de>
Sun, 27 Feb 2005 09:29:13 +0000 (09:29 +0000)
committerAlexander Barton <alex@barton.de>
Sun, 27 Feb 2005 09:29:13 +0000 (09:29 +0000)
commit3da942e2374449248b1359222564db8f9997b090
treedc38bbb3a2e4005b2b0a4c0b473f155c0ebb248b
parentbcb6cf3ffaaac33bd3e32e63704a5ff89cc999e6
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>.
src/portab/strlcpy.c