Module Name:    src
Committed By:   christos
Date:           Fri Dec 14 21:31:01 UTC 2012

Modified Files:
        src/lib/libc/gen: unvis.c

Log Message:
Reduce the number of relative relocation by allocating space in the
structure directly (Jilles Tjoelker @ FreeBSD)


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/lib/libc/gen/unvis.c

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

Modified files:

Index: src/lib/libc/gen/unvis.c
diff -u src/lib/libc/gen/unvis.c:1.39 src/lib/libc/gen/unvis.c:1.40
--- src/lib/libc/gen/unvis.c:1.39	Tue Mar 13 17:13:37 2012
+++ src/lib/libc/gen/unvis.c	Fri Dec 14 16:31:01 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: unvis.c,v 1.39 2012/03/13 21:13:37 christos Exp $	*/
+/*	$NetBSD: unvis.c,v 1.40 2012/12/14 21:31:01 christos Exp $	*/
 
 /*-
  * Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)unvis.c	8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: unvis.c,v 1.39 2012/03/13 21:13:37 christos Exp $");
+__RCSID("$NetBSD: unvis.c,v 1.40 2012/12/14 21:31:01 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -81,7 +81,7 @@ __weak_alias(strnunvisx,_strnunvisx)
  * RFC 1866
  */
 static const struct nv {
-	const char *name;
+	const char name[7];
 	uint8_t value;
 } nv[] = {
 	{ "AElig",	198 }, /* capital AE diphthong (ligature)  */

Reply via email to