Date: Tue, 14 Jul 1998 22:21:50 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern init_main.c Message-ID: <199807150521.WAA18690@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/07/14 22:21:49 PDT
Modified files:
sys/kern init_main.c
Log:
Cast pointers to intptr_t instead of or before casting to long.
Fixed bitrot in K&R support (suword() now takes a long word).
Didn't fix corresponding bitrot in store.9 and fetch.9.
The correct types for the store and fetch families are problematic.
The `word' functions are unfortunately named and need to be split
to handle ints/longs/object pointers/function pointers. Storing
argv[] as longs is quite broken when longs are longer than pointers,
but usually works because it clobbers variables that will soon be
reinitialized.
Revision Changes Path
1.95 +5 -5 src/sys/kern/init_main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807150521.WAA18690>
