Subject: CVS commit: xsrc/xfree/xc/fonts/util
To: None <source-changes@NetBSD.org>
From: Aymeric Vincent <aymeric@netbsd.org>
List: source-changes
Date: 08/08/2003 13:24:16
Module Name:	xsrc
Committed By:	aymeric
Date:		Fri Aug  8 13:24:16 UTC 2003

Modified Files:
	xsrc/xfree/xc/fonts/util: ucs2any.c

Log Message:
. replace strcat() by strcpy() in zstrcat()
. change read_line() so that it doesn'4 do a realloc() for each character read.
  (change c's type again, to int this time as expected for getc())
. initialize a variable ("code") to -1 so that gcc stops complaining.

This improves performance of ucs2any quite a little bit.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 xsrc/xfree/xc/fonts/util/ucs2any.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.