From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108438 invoked by alias); 17 Mar 2017 11:47:59 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 108421 invoked by uid 89); 17 Mar 2017 11:47:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2 autolearn=ham version=3.3.2 spammy=inappropriate X-HELO: conssluserg-03.nifty.com Received: from conssluserg-03.nifty.com (HELO conssluserg-03.nifty.com) (210.131.2.82) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Mar 2017 11:47:56 +0000 Received: from Express5800-S70 (ntsitm157201.sitm.nt.ngn.ppp.infoweb.ne.jp [175.179.23.201]) (authenticated) by conssluserg-03.nifty.com with ESMTP id v2HBlnj0028060 for ; Fri, 17 Mar 2017 20:47:50 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com v2HBlnj0028060 X-Nifty-SrcIP: [175.179.23.201] Date: Fri, 17 Mar 2017 11:47:00 -0000 From: Takashi Yano To: cygwin@cygwin.com Subject: tcsh bug regarding rmstar Message-Id: <20170317204751.cb1ef0bf54b0e08101450c7b@nifty.ne.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00186.txt.bz2 Hello, Today, I noticed a strange behaviour of tcsh regarding rmstar. 32 bit version of tcsh 6.20.00 stops until interrupted by ^C when executing 'rm *', if 'rmstar' is set. This can be reproduced by following steps. --- form here --- set rmstar unalias rm mkdir testdir cd testdir rm * --- to here --- I looked into this problem, and found the culprit is that a variable is defined as inappropriate type. That is, the type of auto variable 'c', defined in function getYN() in sh.func.c, should not be int, but char. I cannot reproduce this with 64 bit version, but the issue should potentially exists in it. It seems that this is the known issue, and is already fixed in HEAD of github. https://github.com/tcsh-org/tcsh I hope this bug will be fixed in the next release. -- Takashi Yano -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple