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:31:41
Module Name:	basesrc
Committed By:	cgd
Date:		Wed Dec 20 00:31:41 UTC 2000

Modified Files:
	basesrc/sbin/shutdown: shutdown.c

Log Message:
__CONCAT does token pasting, not string concatnation.  if something like:
        __CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" 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 misuse
of token pasting.


To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 basesrc/sbin/shutdown/shutdown.c

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