Date: Sun, 7 Jul 2002 08:24:38 -0700 (PDT) From: Robert Drehmel <robert@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/makewhatis makewhatis.c Message-ID: <200207071524.g67FOcHJ060110@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
robert 2002/07/07 08:24:38 PDT Modified files: usr.bin/makewhatis makewhatis.c Log: - Fix the code in sbuf_need() to double the allocation size until the new content size fits into the sbuf, instead of assuming that allocating twice the old size is enough. - Use memmove(3) rather than strcpy(3) to copy overlapping strings. PR: bin/39930 Revision Changes Path 1.7 +17 -9 src/usr.bin/makewhatis/makewhatis.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207071524.g67FOcHJ060110>