From owner-freebsd-bugs Fri Apr 3 14:00:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA12058 for freebsd-bugs-outgoing; Fri, 3 Apr 1998 14:00:54 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from cons.org (knight.cons.org [194.233.237.86]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA11979 for ; Fri, 3 Apr 1998 14:00:49 -0800 (PST) (envelope-from cracauer@cons.org) Received: (from cracauer@localhost) by cons.org (8.8.5/8.7.3) id AAA07530; Sat, 4 Apr 1998 00:00:21 +0200 (CEST) Message-ID: <19980404000021.01289@cons.org> Date: Sat, 4 Apr 1998 00:00:21 +0200 From: Martin Cracauer To: Ahmon Dancy Cc: freebsd-bugs@hub.freebsd.org Subject: Re: bin/6047: /bin/sh does not handle -e option properly Mail-Followup-To: Ahmon Dancy , freebsd-bugs@hub.freebsd.org References: <19980403204701.17844@cons.org> <199804032100.NAA13627@ultra.franz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i In-Reply-To: <199804032100.NAA13627@ultra.franz.com>; from Ahmon Dancy on Fri, Apr 03, 1998 at 01:00:31PM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In <199804032100.NAA13627@ultra.franz.com>, Ahmon Dancy wrote: > >> Could you please test the appended fix? It fixes the particual > >> problem, the question is what else it br(e)ak(e)s :-) > >> > >> In case you don't want to build a shell, I put a binary with this fix > >> on > >> http://www.freebsd.org/~cracauer/sh.gz > > I tried this out and it seems to work, however it has been compiled > and linked w/ a newer shared library than the one I have on my > system. I tried extracting /usr/src/bin from the Feb 98 snapshot CD > but apparently the printf.c file is missing. Can you send me a > tarball of your /usr/src/bin/sh? My "sh" src doesn't contain printf, too, sh's Makefile has a relative path in it (to /usr/src/usr.bin/printf/). Anyway. just get ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/usr.bin/printf/print.c and copy it into your sh directory. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer cracauer@wavehh.hanse.de (batched, preferred for large mails) Tel.: (daytime) +4940 41478712 Fax.: (daytime) +4940 41478715 Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536 Paper: (private) Waldstrasse 200, 22846 Norderstedt, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message