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

Modified Files:
	basesrc/usr.bin/w: pr_time.c w.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.10 -r1.11 basesrc/usr.bin/w/pr_time.c
cvs rdiff -r1.42 -r1.43 basesrc/usr.bin/w/w.c

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