Module Name: src Committed By: snj Date: Sun Feb 25 22:59:28 UTC 2018
Modified Files: src/sys/modules/lua [netbsd-7]: lua.c Log Message: Pull up following revision(s) (requested by sevan in ticket #1545): sys/modules/lua/lua.c: up to 1.24 whitespace, knf, comments, but no functional change -- lua(4): fixed require -- plug leak on error. Reported by: http://www.m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-4 -- fix double require bug -- Use aprint*() instead of printf() in xxx_attach(). -- Check pmf_device_register return value. NFC Appeases static analyzers. Can't destroy pb until we're done using it. -- Fix cargo cult ioctl implementation for LUAINFO: the name and desc fields are arrays, not pointers, so don't use copyoutstr on them, but instead copyin/copyout the whole array of structures. Fixes PR 52864 for me (on sparc64). To generate a diff of this commit: cvs rdiff -u -r1.13.2.6 -r1.13.2.7 src/sys/modules/lua/lua.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.