delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/18/04:11:47

X-Spam-Check-By: sourceware.org
Date: Mon, 18 Jun 2007 10:11:24 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bug in tcsh 6.15.00-4
Message-ID: <20070618081123.GI4179@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4674ED73 DOT 60708 AT zone42 DOT org>
Mime-Version: 1.0
In-Reply-To: <4674ED73.60708@zone42.org>
User-Agent: Mutt/1.4.2.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jun 17 10:14, Steffen Sledz wrote:
> I've found a small bug in /etc/profile.d/complete.tcsh of tcsh package
> 6.15.00-4, which makes some problems if $HOME contains white spaces.
> The fix for this is an easy one as this diff shows:
> 
> % diff /etc/profile.d/complete.tcsh /etc/profile.d/complete.tcsh.org
> 42,43c42,43
> <         if ( -r "$f" ) then
> <           set hosts = ($hosts `grep -v "+" "$f" | grep -E -v "^#" | tr -s " " "       " | cut -f 1`)
> ---
> >         if ( -r $f ) then
> >           set hosts = ($hosts `grep -v "+" $f | grep -E -v "^#" | tr -s " " " " | cut -f 1`)
> 
> I'm not familiar with cygwin development. I've reported this in
> cygwin-apps before, but i was told to post it here again. I hope
> that's the right way.

Yes, this is the right way.  The above problem is also an upstream
problem.  Thanks for the patch.

It would be better in the long run *not* to use spaces in path names,
though.  It's not very tricky to set up and it helps to avoid
annoying problems with shell scripts, etc.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019