cvs commit: src/sys/sys iconv.h kobj.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Oct 3 12:00:12 PDT 2007
dillon 2007/10/03 11:58:20 PDT
DragonFly src repository
Modified files:
sys/sys iconv.h kobj.h
Log:
libiconv was declaring a base kobj_class structure instead of an extended
kobj_class structure (which it calls iconv_converter_class). Add a new
KOBJ macro to allow an extended structure to be declared and explicitly
require the full name of the extended structure to be specified by the
caller.
This bug was causing sysctl -a to crash the system when libiconv.ko is
loaded.
Reported-by: Rumko <rumcic at gmail.com>, Joerg Anslik <joerg at anslik.de>
Revision Changes Path
1.6 +4 -2 src/sys/sys/iconv.h
1.11 +10 -0 src/sys/sys/kobj.h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/iconv.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/kobj.h.diff?r1=1.10&r2=1.11&f=u
More information about the Commits
mailing list