Subject: Re: Problem with closed file descriptors and 1.4
To: dustin sallings <dustin@spy.net>
From: jason torubbard <bill@psych.uw.edu.pl>
List: current-users
Date: 06/19/1999 19:26:47
On Sat, 19 Jun 1999, dustin sallings wrote:
>
> 1.4 has a bug that's really screwing up my dhcp. Has anyone
> noticed this? I can't find any reference to it, but I thought I'd check
> here. If it's unknown, I'll file a bug report. This reproduces the
> problem on my laptop:
It looks for me like a problem with sh(1) and ksh(1) , AT&T ksh and
bash works OK here.
BTW. sh(1) on FreeBSD 3.1 produces the same wrong results.
>
> #!/bin/sh
>
> # close stdout
> exec >&-
>
> echo a > afile
> echo b > bfile
> echo c
> echo a2 >> afile
> echo b2 >> bfile
> echo c2
>
> --
> Principal Member Technical Staff, beyond.com The world is watching America,
> pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
> | Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE
> L______________________________________________ and America is watching TV. __
>
>