[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	pjanzen_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2002/07/01 01:48:50

Modified files:
	lib/libc/gen   : vis.3 vis.c 

Log message:
Fix strnvis():  don't truncate unnecessarily, set the return value correctly
if we had to truncate, and don't NUL-terminate if size == 0.