sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit b7886f3e672bd40a8b1021b2182ae764df223423
parent 8db1632409f5b1e788ec314aa713f9f054c81147
Author: Evan Gates <evan.gates@gmail.com>
Date:   Tue, 24 Mar 2015 13:43:04 -0700

change estrlcat back to strlcat

strlcat is used to here to purposely truncate the string

Diffstat:
Msed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sed.c b/sed.c @@ -329,7 +329,7 @@ strnacat(String *dst, char *src, size_t n) resize((void **)&dst->str, &dst->cap, 1, len * 2, NULL); if (new) *dst->str = '\0'; - estrlcat(dst->str, src, len); + strlcat(dst->str, src, len); } void