Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 1999 09:43:47 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        des@flood.ping.uio.no, grog@lemis.com
Cc:        bde@zeta.org.au, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, jb@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern init_main.c
Message-ID:  <199905072343.JAA00814@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905072343.JAA00814>