Subject: Re: CVS commit: src/etc
To: matthew green <mrg@eterna.com.au>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: source-changes
Date: 04/09/2007 20:14:05
On 09/04/2007, at 20:03, matthew green wrote:

>
>    On Mon, Apr 02, 2007 at 12:42:42PM +0000, Mike M. Volokhov wrote:
>>
>> Module Name:	src
>> Committed By:	mishka
>> Date:		Mon Apr  2 12:42:42 UTC 2007
>>
>> Modified Files:
>> 	src/etc: wscons.conf
>> 	src/etc/rc.d: wscons
>>
>> Log Message:
>> Provide yet more functionality to wscons.conf's "setvar" (see
>> examples in the wscons.conf). Now, you have to specify wscons
>> control device and put variable name and parameter on separate
>> fields.
>
>    Can you please update wscons.conf(5) accordingly?
>
>    I had a "hard" time figuring out why setvar didn't work as  
> before and
>    why what the manual page mentioned did not work.
>
>
> is there no way to support the old style usage as well?  it seems
> poor choice to break a configuration file format...

It looks like it'd be easy to check if there is just one parameter to  
setvar and assume the old behavior in that case.  Maybe issue a  
warning in that case to mention that such syntax is obsolete and will  
be removed in the future?

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>