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:resent-message-id:resent-date:resent-from :resent-to:mime-version:content-type:content-transfer-encoding :message-id:references:date:to:resent-cc:in-reply-to:subject; q= dns; s=default; b=jodrbSPEpHl2O3cMCVYhwelOZhtzTWL+yhR5VhCmWnpe8m WbZRpAj5Es8W0q5SYihiKbFC4h5q3GlkXPmO+343fR94B4yuAGSGRsoUFysAI97y 7JIDvNaeg8QwGQeOyzu1ZgalzEETzHJ6rYphpz/ExITCKFBcaCkFgnmlnuM/M= 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:resent-message-id:resent-date:resent-from :resent-to:mime-version:content-type:content-transfer-encoding :message-id:references:date:to:resent-cc:in-reply-to:subject; s= default; bh=HxniQxocYvnBsu0yBuZi8WFyqao=; b=sxdoYeXm/q6uTygo+aLL Mz4NdeLKDtO9ZF1HWIzzx8YpYanl1n5GIV2i1mGwxViErJIXX1ILcivfVBWTrOz2 neGk6PCq5DfGS9MR2a2zETJBAlwH75eOHMPPDuiDzL1q47RuYXz8nUlbig2usOV+ QXIGxdyobKGAyJGCVxSNTCQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_LOW,SPF_PASS,T_HK_NAME_FM_DR autolearn=no version=3.3.2 spammy=mouth, foot, spoil, blank X-HELO: mail-wm0-f51.google.com X-Received: by 10.194.178.135 with SMTP id cy7mr70630162wjc.61.1451499123183; Wed, 30 Dec 2015 10:12:03 -0800 (PST) From: Dr Rainer Woitok X-Google-Original-From: Dr Rainer Woitok Resent-Message-ID: <22148 DOT 7786 DOT 433000 DOT 279843 AT woitok DOT gmail DOT com> Resent-Date: Wed, 30 Dec 2015 19:11:54 +0100 Resent-From: Dr Rainer Woitok Resent-To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <22136.1592.595000.557895@woitok.gmail.com> References: <567693DC DOT 1090507 AT dwalin DOT fsnet DOT co DOT uk> Date: Mon, 21 Dec 2015 15:01:28 +0100 To: cygwin AT cygwin DOT com, Sam Edge Resent-CC: Corinna Vinschen In-Reply-To: Msg <567693DC.1090507@dwalin.fsnet.co.uk> of 2015-12-20 11:41:16 +0000 from sam.edge@dwalin.fsnet.co.uk Subject: Re: SegFault running "ls -l" after Microsoft Patch Day Sorry Cygwinners, currently I'm having massive problems posting to the Cygwin list. I don't even get rejection mails, my posts simply don't make it :-( My first try was back on 2015-12-21, several more have followed since then. Happy New Year to all of you :-) Rainer ------------------ My original post from 2015-12-21: ------------------- Sam, On Sunday, 2015-12-20 11:41:16 +0000, you wrote: > ... > > and (of all things!) contain blanks, > > * rant mode on * > > What's wrong with blanks? Actually nothing. I myself am using plenty of blanks, for instance when writing e-mails. But you seem to have totally missed my point. I was NOT talking about blanks in path names but about blanks in user and group names. And there they DO have a tendency to spoil parsing the output from commands like "ls -l", "id", "ps", and probably many more. Consider you have users "A" and "A B" as well as groups "B C" and "C", and then go and correctly parse -rwxr-xr-x 1 A B C 0 2015-12-21 13:18 example keeping in mind that "ls" does not provide null-terminated user and group names in its output. Unix simply wasn't designed for blanks in these places, even though it is liberal enough to allow you to put your foot in your mouth, if you want to. However, I prefer the good old Unix paradigm of keeping simple things simple, which means in the case at hand of keeping user and group names blank free. Corinna wanted to know why someone would use own "passwd" and "group" files, and I explained why I'm using them and what kind of changes I in- troduced there. Your milage may vary. @Corinna: Meanwhile I tested "cygwin1-20151216.dll". The good news: no more seg- mentation faults when running "ls -l /C". The bad news: While "Unknown+ User" is still translated to "other" via my last line in "/etc/passwd", the corresponding line in file "/etc/group" no longer seems to have any effect. Whenever the group is not determinable, "Unknown+Group" is now displayed. And since you hinted that this "other:*:" trick only worked by happen- stance, I'm now having an item on my Cygwin Christmas wish list: A way to configure strings different from "Unknown+User", "Unknown+ Group", "CurrentSession", and "OtherSession" in one of the files "/etc/passwd", "/etc/group", or "/etc/nsswitch.conf" or even in env- ironment variable "CYGWIN". Apart from that I'm considering my original problem solved. Thanks Corinna, and Happy Holidays :-) Sincerely, Rainer ---------------------------------------------------------------------- | Rainer M Woitok | Phone : (+49 60 93) 487 95 95 | | Kolpingstraße 3 | Mobile: (+49 172) 813 6 831 | | D-63846 Laufach | Mail : Rainer DOT Woitok AT Gmail DOT Com | | Germany | | ---------------------------------------------------------------------- -- 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