Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: source-changes
Date: 12/20/2000 02:15:10
Module Name:	basesrc
Committed By:	cgd
Date:		Wed Dec 20 00:15:10 UTC 2000

Modified Files:
	basesrc/bin/sh: var.c

Log Message:
__CONCAT does token pasting, not string concatnation.  if something like:
        __CONCAT("PATH=",_PATH_STDPATH);
actually works to concantate strings, it's because the preprocessor expands
it into "PATH=""whatever _PATH_STDPATH is" as separate strings, and then
ANSI string concatenation is performed on that.  It's more straightforward
to just use ANSI string concatenation directly, and newer GCCs complain
(rightly) about mis-use of token pasting.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 basesrc/bin/sh/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.