Date: Wed, 23 Jul 1997 19:37:20 +0200 (MEST) From: Søren Schmidt <sos@sos.freebsd.dk> To: msmith@atrad.adelaide.edu.au (Michael Smith) Cc: current@freebsd.org (FreeBSD current) Subject: Re: who broke libedit ?? Message-ID: <199707231737.TAA24434@sos.freebsd.dk> In-Reply-To: <199707231651.CAA10320@genesis.atrad.adelaide.edu.au> from Michael Smith at "Jul 24, 97 02:21:40 am"
next in thread | previous in thread | raw e-mail | index | archive | help
In reply to Michael Smith who wrote:
> Søren Schmidt stands accused of saying:
> >
> > current of today yields:
>
> Simon Shapiro has been seeing this one for some days now. It is
> symptomatic of a shell problem.
>
> Check /usr/obj/.../lib/libedit/common.h : the first few lines should read :
> /* Automatically generated file, do not edit */
> #ifndef _h_common_c
> #define _h_common_c
>
> The file is generated by this code in src/lib/libedit/makelist :
>
> FLAG="$1"
> shift
>
> FILES="$@"
>
> case $FLAG in
> -h)
> OIFS="$IFS"
> IFS=".$IFS"
> set - $FILES
> IFS="$OIFS"
> hdr="_h_`basename $1`_$2"
> cat $FILES | $AWK '
> BEGIN {
> printf("/* Automatically generated file, do not edit */\n");
> printf("#ifndef %s\n#define %s\n", "'$hdr'", "'$hdr'");
> }
>
> which is invoked as :
>
> sh ${.CURDIR}/makelist -h ${.CURDIR}/common.c > ${.TARGET}
Well, my file doesn't look remotely like that :(
> On my system here, with SHELL=/usr/local/bin/tcsh it works fine. Are
> you using bash as your login shell?
no, /bin/csh...
> Simon promised me a login on his system to pursue this; it's not quite
> happening yet. I'm about to run out of steam, and he's not in the
> office. 8(
Well, you can have one on mine if you need ....
Send me a passwd line (MD5 crypt), and you'll be in...
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team
Even more code to hack -- will it ever end
..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707231737.TAA24434>
