From owner-cvs-sys Tue Sep 3 16:18:47 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA03130 for cvs-sys-outgoing; Tue, 3 Sep 1996 16:18:47 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA03046; Tue, 3 Sep 1996 16:17:17 -0700 (PDT) Date: Tue, 3 Sep 1996 16:17:17 -0700 (PDT) From: Bruce Evans Message-Id: <199609032317.QAA03046@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/ibcs2 ibcs2_util.c src/sys/i386/linux linux_util.c src/sys/sys namei.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/09/03 16:17:17 Modified: sys/i386/ibcs2 ibcs2_util.c sys/i386/linux linux_util.c sys/sys namei.h Log: Changed type of ni_dirp in `struct namei' from caddr_t to `const char *' so that the compiler can see that it is OK to use const strings in NDINIT(). Some emulators want to use paths of the form "/compat/foo". Removed the casts that hid the non-problem. Didn't fix the missing consts in syscalls.master that hid the non-problem. Revision Changes Path 1.4 +2 -3 src/sys/i386/ibcs2/ibcs2_util.c 1.3 +3 -4 src/sys/i386/linux/linux_util.c 1.11 +2 -2 src/sys/sys/namei.h