From owner-freebsd-current Wed Jul 23 10:37:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA02105 for current-outgoing; Wed, 23 Jul 1997 10:37:56 -0700 (PDT) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA02085 for ; Wed, 23 Jul 1997 10:37:41 -0700 (PDT) Received: (from sos@localhost) by sos.freebsd.dk (8.8.6/8.7.3) id TAA24434; Wed, 23 Jul 1997 19:37:21 +0200 (MEST) From: Søren Schmidt Message-Id: <199707231737.TAA24434@sos.freebsd.dk> Subject: Re: who broke libedit ?? In-Reply-To: <199707231651.CAA10320@genesis.atrad.adelaide.edu.au> from Michael Smith at "Jul 24, 97 02:21:40 am" To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Wed, 23 Jul 1997 19:37:20 +0200 (MEST) Cc: current@freebsd.org (FreeBSD current) X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 ..