Subject: Re: startx buglet
To: Thomas Klausner <wiz@NetBSD.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-x11
Date: 03/27/2004 19:21:06
On Sat, 27 Mar 2004, Frederick Bruckman wrote:

> On Sat, 27 Mar 2004, Thomas Klausner wrote:
>
> > xsrc built with build.sh on 20040325 created a startx that contains
> > the following lines:
> > # display must be the FIRST server argument
> >             if [ x"$serverargs" = x ] && @@
> >                  expr "$1" : ':[0-9][0-9]*$' > /dev/null 2>&1; then
> >
> > The two @s in the second line are obviously wrong.
> > Haven't looked yet where this comes from.
>
> The native build subsitutes a "\" continuation character for that.
> That file is evidently supposed to be post-processed with this "sed"
> script (after "cpp"), defined as CppSedMagic in "xc/Imake.cf":

A change in XFree 4.4.0 in Imake.rules had not been mirrored in
bsd.x11.mk. I committed a fix. I also looked over the diffs in
".../xc/config/cf" from -v4-3-0 to -v4-4-0, and I didn't see any thing
else like that except for one obscure change, apparently intended to
preserve the space between "Version" and "4.4.0" with some "sed"'s,
but that obviously doesn't concern our "sed".

Thanks for noticing this!

Frederick