Fixed a bug in strlcat() where it would not properly detect a no-change
authorWayne Davison <wayned@samba.org>
Tue, 20 Jan 2004 00:29:49 +0000 (00:29 +0000)
committerWayne Davison <wayned@samba.org>
Tue, 20 Jan 2004 00:29:49 +0000 (00:29 +0000)
commit1fb8ec4b0d871f44eeb025b2ea2a1fbfa961234b
tree53e2a084b8508dea2b5d5ac494c531ed11d71ba3
parentbeb93684818f1502aec2d8b0980d27257e1d36f4
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).
lib/compat.c