Loading...
--- Libc/Libc-594.9.5/gen/FreeBSD/unvis.c.patch
+++ Libc/Libc-763.12/gen/FreeBSD/unvis.c.patch
@@ -1,15 +1,15 @@
---- unvis.c.orig 2004-11-25 11:38:02.000000000 -0800
-+++ unvis.c 2005-02-27 01:14:02.000000000 -0800
-@@ -37,6 +37,8 @@
+--- unvis.c.orig 2009-11-07 14:51:38.000000000 -0800
++++ unvis.c 2009-11-07 14:51:40.000000000 -0800
+@@ -33,6 +33,8 @@ static char sccsid[] = "@(#)unvis.c 8.1
#include <sys/cdefs.h>
- __FBSDID("$FreeBSD: src/lib/libc/gen/unvis.c,v 1.9 2004/08/02 08:46:23 stefanf Exp $");
+ __FBSDID("$FreeBSD: src/lib/libc/gen/unvis.c,v 1.10 2007/01/09 00:27:56 imp Exp $");
+#include "xlocale_private.h"
+
#include <sys/types.h>
#include <ctype.h>
#include <vis.h>
-@@ -64,6 +66,7 @@
+@@ -60,6 +62,7 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/unv
int
unvis(char *cp, int c, int *astate, int flag)
{
@@ -17,7 +17,7 @@
if (flag & UNVIS_END) {
if (*astate == S_OCTAL2 || *astate == S_OCTAL3) {
-@@ -90,8 +93,8 @@
+@@ -86,8 +89,8 @@ unvis(char *cp, int c, int *astate, int
case S_START:
if (*astate & S_HTTP) {
@@ -28,7 +28,7 @@
*astate = S_HEX2;
return (0);
}
-@@ -216,8 +219,8 @@
+@@ -212,8 +215,8 @@ unvis(char *cp, int c, int *astate, int
return (UNVIS_VALIDPUSH);
case S_HEX2: /* second mandatory hex digit */