cvs commit: src/sys/sys iconv.h
R. Imura
imura at FreeBSD.org
Mon Sep 5 10:03:41 PDT 2005
imura 2005-09-05 17:03:40 UTC
FreeBSD src repository
Modified files:
sys/sys iconv.h
Log:
Fix panic when loading libiconv.ko on sparc64.
It seems that this issue only become obvious when compiled with -O2
on sparc64.
Since each struct iconv_converter_class has been initialized by
DEFINE_CLASS macro, not all members of struct iconv_converter_class
has been allocated on memory and cc_link member has not been
initialized, while iconv_register_converter() wanted to access it
with TAILQ.
Now we modify KICONV_CONVERTER macro and fix this bug.
Problem reported on: freebsd-sparc64
Pointed out by: yongari
Discussed with: yongari
Tested by: yongari
MFC after: 3 days
Revision Changes Path
1.12 +4 -2 src/sys/sys/iconv.h
More information about the cvs-src
mailing list