From owner-freebsd-current Wed Jul 23 09:52:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA29390 for current-outgoing; Wed, 23 Jul 1997 09:52:04 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA29346 for ; Wed, 23 Jul 1997 09:51:55 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id CAA10320; Thu, 24 Jul 1997 02:21:41 +0930 (CST) From: Michael Smith Message-Id: <199707231651.CAA10320@genesis.atrad.adelaide.edu.au> Subject: Re: who broke libedit ?? In-Reply-To: <199707231617.SAA24245@sos.freebsd.dk> from =?ISO-8859-1?Q?S=F8ren_Schmidt?= at "Jul 23, 97 06:17:34 pm" To: sos@sos.freebsd.dk (Søren Schmidt) Date: Thu, 24 Jul 1997 02:21:40 +0930 (CST) Cc: current@FreeBSD.ORG, committers@sos.freebsd.dk X-Mailer: ELM [version 2.4ME+ PL28 (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 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} On my system here, with SHELL=/usr/local/bin/tcsh it works fine. Are you using bash as your login shell? 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( -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[