delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/20/06:41:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=UnkATxL3tHVnn5Kc
OYkvY4mynEhflawpPWHP/p0Gnwbo3txW6hD357kZkd9sbPaec8MsB50Z+FEJukW1
eyJNUiRZVXg/RT0V7w3284SM0ke0vMJ4zVQGYo40/Ji9/s5R5YAB6AaxoPIPKLhR
D+JZZEwp+s2dIAb0po4oC8054p4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:subject:to:references:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Y9xn/fhe/39MqQ8MZ+CurM
pvcWE=; b=dUpOXUenYxeOAgQCo5j9kre4Y6aHfegxFjwmJOizdMNWhKVAUVr74V
8Xf5X7hiOL0Vfa8rxgrLXTOAEyPSkbUrbEY1Vm0ABZTd8WHFgiXirB6/+nfGv+i2
IaqpY6WOtHOdeVxOympOZ0LRANh9IhT3r7bF2kGewd2WLFgOF1h3Y=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.9 required=5.0 tests=BAYES_50,KAM_COUK,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=blanks, things!, Woitok, woitok
X-HELO: smtpout.wanadoo.co.uk
X-ME-Helo: [192.168.15.105]
X-ME-Auth: ZHdhbGluQGZzbmV0LmNvLnVr
X-ME-Date: Sun, 20 Dec 2015 12:41:14 +0100
X-ME-IP: 79.79.111.79
From: Sam Edge <sam DOT edge AT dwalin DOT fsnet DOT co DOT uk>
Subject: Re: SegFault running "ls -l" after Microsoft Patch Day
To: cygwin AT cygwin DOT com
References: <20151216164758 DOT GL3507 AT calimero DOT vinschen DOT de> <22132 DOT 1234 DOT 560000 DOT 81409 AT woitok DOT gmail DOT com>
Message-ID: <567693DC.1090507@dwalin.fsnet.co.uk>
Date: Sun, 20 Dec 2015 11:41:16 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <22132.1234.560000.81409@woitok.gmail.com>

On 18/12/2015 13:06, Dr Rainer Woitok wrote:
> and (of all things!) contain blanks, 

* rant mode on *

What's wrong with blanks?

The OS calls don't give a monkey's chuff so long as they're given
null-terminated C-strings. Tools like find, xargs etc. have options to cope.

The biggest problem is that there are a lot of sloppily written shell
scripts out there that don't properly quote substitutions or that use $*
instead of "$@" or that use command substitution where they should be
using pipes and "xargs" and "read". That's the fault of the scripts, not
the OS/emulation layer.

* rant mode off *

Happy Holidays everyone.

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

- Raw text -


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