Not only is the Internet dead, it's starting to smell really bad.:2003年07月20日分

2003/07/20(Sun)

Citrus xpg4dl

@assertを有効にしてみると

$ iconv -f euc-jp -t utf-8 foo.txt >bar.txt
assertion "ei != NULL" failed: file "/usr/src/lib/libc/citrus/modules/citrus_utf8.c", line 377, function "_citrus_UTF8_encoding_module_init"
Abort trap (core dumped)

なんかどっかおかしいね。

@原因判明

Index: citrus_utf8.c
===================================================================
RCS file: /home/cvs/NetBSD/src/lib/libc/citrus/modules/citrus_utf8.c,v
retrieving revision 1.9
diff -u -r1.9 citrus_utf8.c
--- citrus_utf8.c	26 Jun 2003 12:09:58 -0000	1.9
+++ citrus_utf8.c	20 Jul 2003 10:07:30 -0000
@@ -105,6 +105,7 @@
 } _UTF8State;
 
 typedef struct {
+	int dummy;
 } _UTF8EncodingInfo;
 
 typedef struct {

ですた。まあ、そのうちsend-prしよう。