This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: SegFault running "ls -l" after Microsoft Patch Day
- From: Sam Edge <sam dot edge at dwalin dot fsnet dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Sun, 20 Dec 2015 11:41:16 +0000
- Subject: Re: SegFault running "ls -l" after Microsoft Patch Day
- Authentication-results: sourceware.org; auth=none
- References: <20151216164758 dot GL3507 at calimero dot vinschen dot de> <22132 dot 1234 dot 560000 dot 81409 at woitok dot gmail dot 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