On 0803T2054, Andriy Gapon wrote: > On 03/08/2015 19:27, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Mon Aug 3 16:27:36 2015 > > New Revision: 286234 > > URL: https://svnweb.freebsd.org/changeset/base/286234 > > > > Log: > > Fix a problem which made loader(8) load non-kld files twice. > > What was the problem? > The change looks like defensive coding, but it's not clear why the loader > would > attempt to load the same file more than once in the first place.
It's because the "load_modules" Forth word gets called twice. It could be fixed, I guess, but I'm no good at Forth, so I chose the other way: I made the "load" command behave consistently; it already silently refused to load KLDs twice, and I made it behave the same way for other types of modules. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"