From owner-cvs-all Sat Feb 20 13:22: 8 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5242D11918; Sat, 20 Feb 1999 13:22:00 -0800 (PST) (envelope-from dfr@FreeBSD.org) Received: (from dfr@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id NAA09698; Sat, 20 Feb 1999 13:22:00 -0800 (PST) (envelope-from dfr@FreeBSD.org) Message-Id: <199902202122.NAA09698@freefall.freebsd.org> From: Doug Rabson Date: Sat, 20 Feb 1999 13:22:00 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dfr 1999/02/20 13:22:00 PST Modified files: sys/kern kern_linker.c Log: 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 Revision Changes Path 1.27 +3 -1 src/sys/kern/kern_linker.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message