From owner-cvs-all Tue Jul 14 22:22:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA19127 for cvs-all-outgoing; Tue, 14 Jul 1998 22:22:35 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA19122; Tue, 14 Jul 1998 22:22:33 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA18690; Tue, 14 Jul 1998 22:21:50 -0700 (PDT) Date: Tue, 14 Jul 1998 22:21:50 -0700 (PDT) Message-Id: <199807150521.WAA18690@freefall.freebsd.org> To: Subject: cvs commit: src/sys/kern init_main.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message