From owner-cvs-all Mon Aug 23 17:40:39 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 8ECC714E78; Mon, 23 Aug 1999 17:40:37 -0700 (PDT) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA19339; Mon, 23 Aug 1999 17:38:53 -0700 (PDT) (envelope-from bde@FreeBSD.org) Message-Id: <199908240038.RAA19339@freefall.freebsd.org> From: Bruce Evans Date: Mon, 23 Aug 1999 17:38:53 -0700 (PDT) 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 bde 1999/08/23 17:38:53 PDT Modified files: sys/kern kern_linker.c Log: Cast pointers to uintptr_t instead of casting them to u_long. They are still converted to u_long by assignment of the uintptr_t, and address calculations are still done using u_long. This is OK for currently supported machines, but addresses should be represented by vm_offset_t or uintptr_t in case pointers are longer than longs. "Fixed" size of linker_path[]. MAXPATHLEN + 1 was 1 too large for search paths with only one file path in them, but much too small for search paths with several long file paths in them. Revision Changes Path 1.36 +5 -5 src/sys/kern/kern_linker.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message