diff --git a/src/cat.c b/src/cat.c index a1292f8..b2ac6e7 100644 --- a/src/cat.c +++ b/src/cat.c @@ -86,6 +86,7 @@ int main(int argc, char **argv) if(!upresence and (2 * (strlen(buf) + strlen(newbuf)) >= buflen)) { + /* Rewrite this bit to use realloc and/or memcpy? */ tmpbuf = malloc(2 * (strlen(buf) + strlen(newbuf))); strcpy(tmpbuf, buf); free(buf);