Date: Thu, 24 Jul 1997 02:21:40 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: sos@sos.freebsd.dk (Søren Schmidt) Cc: current@FreeBSD.ORG, committers@sos.freebsd.dk Subject: Re: who broke libedit ?? Message-ID: <199707231651.CAA10320@genesis.atrad.adelaide.edu.au> In-Reply-To: <199707231617.SAA24245@sos.freebsd.dk> from =?ISO-8859-1?Q?S=F8ren_Schmidt?= at "Jul 23, 97 06:17:34 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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 [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707231651.CAA10320>