Date: Mon, 23 Aug 1999 17:38:53 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_linker.c Message-ID: <199908240038.RAA19339@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908240038.RAA19339>