From 0e0aa0868cd955db793d4466ee8a7a6a3c66aa75 Mon Sep 17 00:00:00 2001 From: tshiozak Date: Mon, 14 Jul 2003 11:37:49 +0000 Subject: [PATCH] use NONIDENTICAL instead of ILSEQ if the reverse conversion of ISO646. (fix for lib/22135) --- lib/libc/citrus/modules/citrus_mapper_646.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/citrus/modules/citrus_mapper_646.c b/lib/libc/citrus/modules/citrus_mapper_646.c index 55cca14de0d1..14e6fd2c00b9 100644 --- a/lib/libc/citrus/modules/citrus_mapper_646.c +++ b/lib/libc/citrus/modules/citrus_mapper_646.c @@ -1,4 +1,4 @@ -/* $NetBSD: citrus_mapper_646.c,v 1.3 2003/07/12 15:39:20 tshiozak Exp $ */ +/* $NetBSD: citrus_mapper_646.c,v 1.4 2003/07/14 11:37:49 tshiozak Exp $ */ /*- * Copyright (c)2003 Citrus Project, @@ -28,7 +28,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: citrus_mapper_646.c,v 1.3 2003/07/12 15:39:20 tshiozak Exp $"); +__RCSID("$NetBSD: citrus_mapper_646.c,v 1.4 2003/07/14 11:37:49 tshiozak Exp $"); #endif /* LIBC_SCCS and not lint */ #include @@ -244,7 +244,7 @@ if (m6->m6_map[INDEX_##x]!=INVALID && src==m6->m6_map[INDEX_##x]) { \ else SPECIALS(BACKWARD); if (src>=0x80) - return _MAPPER_CONVERT_ILSEQ; + return _MAPPER_CONVERT_NONIDENTICAL; *dst = src; }