Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 1995 01:36:31 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        rackow@mcs.anl.gov (Gene Rackow)
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: FreeBSD bug in /bin/sh ?
Message-ID:  <199510210036.BAA13212@uriah.heep.sax.de>
In-Reply-To: <199510201101.GAA12098@obie> from "Gene Rackow" at Oct 20, 95 06:01:03 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Gene Rackow wrote:
> 
> #! /bin/sh
> echo -n foo 1>&1
> echo bar 1>&1
> 
> GNU version 2 configure uses this with echo -n to put "Checking for ..." on
> the terminal before doing the test, and then printing the answer on the same
> line.  

Well, GNU configure is known to do weird things. :-)

Thanks for the report, i think i've fixed this (even though i don't
think redirecting something to myself would make much sense -- but
Posix seems to allow it).  I found a more serious bug when looking for
this (redirecting to a bogus descriptor didn't result in the "Bad file
descriptor" message as it ought to be -- this was in violation of
Posix).

:)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510210036.BAA13212>