Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 1996 00:01:54 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@freefall.freebsd.org, current@freebsd.org
Subject:   Re: cvs commit:  src/sys/i386/conf LINT
Message-ID:  <199606231401.AAA10242@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified:    sys/i386/conf  LINT
>  Log:
>  Describe MAXMEM better.  Enable it by default.  (It's a positive option.
>  Only negative options in LINT should be enabled.)
                                           disabled

The definition of MAXMEM involves many potential quoting bugs.  As Joerg
pointed out, (128*1024) needs to be quoted if it is to be put into the
kernel Makefile instead of into opt_machdep.h like it would be if it
were merged into -stable.   However, quoting it (at least with single
quotes) breaks it in opt_machdep.h - the quotes don't get stripped.  It
should also be defined as (128 * 1024) (to satisfy KNF rules :-), but
then the option reader in config(8) would truncate it to (128.

Bruce



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