]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
A correction to the code which attempts to prevent the same module
authordfr <dfr@FreeBSD.org>
Sat, 20 Feb 1999 21:22:00 +0000 (21:22 +0000)
committerdfr <dfr@FreeBSD.org>
Sat, 20 Feb 1999 21:22:00 +0000 (21:22 +0000)
commitfffe61ae5b0e63d9fc06f1afbf90e746010d96ce
tree7e8fff750ef0a275acb479224f32fd24dbcb0f22
parent135b579aaa48e0e0fb47d41d30792e8efc241139
A correction to the code which attempts to prevent the same module
being loaded twice.  It used rindex() to strip the pathname but failed
to account for the fact that rindex() will return a pointer to the '/',
not the first character of the filename.

Submitted by: Nick Hibma <hibma@skylink.it>
sys/kern/kern_linker.c