X-Spam-Check-By: sourceware.org
Date: Tue, 11 Jul 2006 07:10:38 -0700
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: Crashes/defunct processes after upgrade to cygwin-1.5.20
Message-ID: <20060711141038.GA4036@efn.org>
References: <20060711131132.322660@gmx.net> <034d01c6a4f0$7af57210$a501a8c0@CAM.ARTIMI.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <034d01c6a4f0$7af57210$a501a8c0@CAM.ARTIMI.COM>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, Jul 11, 2006 at 02:46:58PM +0100, Dave Korn wrote:
> On 11 July 2006 14:12, Harald Anlauf wrote:
> 
> > Corinna,
> 
>   Nope, I'm not Corinna!
>  
> > I have now attached the output of cygcheck of my system
> > that should be "current" except for cygwin1 which 1.5.19-4.
> > 
> > I have verified that there was and is no other cygwin1.dll,
> > neither in PATH nor elsewhere.
> > 
> > #!/usr/bin/csh
> 
>   There is no such thing as /usr/bin/csh in the cygwin distribution.
> 
> > cat << EOF
> >     Hello world!
> > EOF
> >
> > % ./cygwin-csh-bug
> > cat: -: Bad file descriptor
> > cat: closing standard input: Bad file descriptor
> > % echo $?
> > 1
> 
>   The cygwin version of the C-shell is called 'tcsh'.  You perhaps have some kind of bogus shell script in /usr/bin that's pretending to be csh and is attempting to translate and forward the command line args to the real tcsh and is getting confused?

I know I'm going out on a limb here, but could the csh in /usr/bin be the
one created by the tcsh postinstall script?  :)

Try deleting /usr/bin/csh.exe.lnk and re-running
/etc/postinstall/tcsh.sh.done.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

