From owner-cvs-all Fri May 7 16:43:58 1999 Delivered-To: cvs-all@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 7B26F1547B; Fri, 7 May 1999 16:43:48 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id JAA00814; Sat, 8 May 1999 09:43:47 +1000 Date: Sat, 8 May 1999 09:43:47 +1000 From: Bruce Evans Message-Id: <199905072343.JAA00814@godzilla.zeta.org.au> To: des@flood.ping.uio.no, grog@lemis.com Subject: Re: cvs commit: src/sys/kern init_main.c Cc: bde@zeta.org.au, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, jb@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >>> Can we have a semicolon for the path separator before people start using >>> this? We are not MSDOS. >> >> I chose to use a semicolon for consistency with other similar >> variables (e.g. module_path). > >Hmm. I thought that by now people would have realised that this was a >typo on bde's part. bde sent a retraction out shortly later, but >nobody seems to have read it. FWIW, the semicolon is what MS-DOS uses >in order not to be too UNIX-like. Do I need to say we should be using >colons here? module_path (linker_path) is wrong too, but has been around too long to just change. Related bogons: linker_path[] has size MAXPATHLEN + 1 (enough for just one pathname of maximal length, plus one byte wasted). init_path[] has size MAXPATHLEN (enough for just one pathname of maximal length). corefilename[] has size MAXPATHLEN+1 (enough for just one pathname of maximal length and one byte of format specification). MAXPATHLEN has very little to do with the size required. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message