delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/03/15:01:44

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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=IpGA8CNUiy/i5BOIak0vEvru2B3k9HBCIwVMPg4uaST
yP6yUqR7ViDIiWJwE4wnPuJBpY7s295LYYg4vZNZwUgme7+2uozl6FTvZLr6pYy2
tNjBaapa80q3yXOMpZaMFCE+yBFgW0nm5uwktZmrS7G7NBdx9ilQJHQ6lejE5YAU
=
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:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=DyNu7GrlDmPqF/bsDSzpDk/DQ0Y=; b=R8NBEnZWuXAuOWya6
d9Jsoy8+ZziVV0Myj5hGOFpuLPW1KglDjcealeFI2gLayMtvANYXQ8bbGvgnlufv
f1kMqVt+NmTBRvqDU4woa2x5bPhwb/D/dQYGNDua54bTikX4ygwVWOCsFaDVuGto
aO8IsBe2115wDqnuzsHSbJr5hI=
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=-1.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.tlinx.org
Message-ID: <53653CFF.5070902@tlinx.org>
Date: Sat, 03 May 2014 12:01:19 -0700
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin-bash compat/regression bug... startup line prob
References: <5362C6A0 DOT 3040306 AT tlinx DOT org> <5362F5D9 DOT 1010800 AT redhat DOT com>
In-Reply-To: <5362F5D9.1010800@redhat.com>
X-IsSubscribed: yes

Eric Blake wrote:
> On 05/01/2014 04:11 PM, Linda Walsh wrote:
> 
>> The reason the above fails... (I got it to work).. is that if there is a
>> space
>> on the line after the "-u", that also fails.
>>
>> I didn't deliberately put one there, but that it no longer handles
>> separate options is an evolution of software devolution.
> 
> It NEVER worked to put more than one option.  I don't know why you are
> arguing "software devolution" when there has been no regression in
> behavior, rather you are just experiencing something that has always
> been this way.  And I already explained in the other message that yes
> indeed cygwin is different than Linux in that trailing whitespace is
> passed through on cygwin but stripped in Linux.
> 
>> But NOTE -- the above error claims it is coming from /usr/bin/bash.
>> That's not my login shell nor on the shebang line.
>>
>> That's cygwin-black-magic... converting all /bin paths to /usr/bin...even
>> shells?...
> 
> I already explained in the other mail that this is a side-effect of
> cygwin converting to windows paths and then back during execve shebang
> computation, rather than preserving the argv[0] of the user.
---
	Like I said -- cygwin-black-magic.  Converting paths to windows
and back again... only innermost practitioner's of windows-magic would
create such spells! ;-)


>  You are welcome to provide a patch.
----
	Aw, shucks, that's awfully nice of you, and if my understanding
of cygwin was such that contributing such a patch wouldn't take more time
learning how to make cygwin than designing and implementing the patch,
I might do such, but it wouldn't be the most efficient use of my time.

    As it stands I need to work around cygwin ignoring Windows
mount-points and turning them into symlinks too often and would likely
consider fixing that a higher priority task, though since it's a
reverting an "extra hack" put in to treat windows mount-points
(Junctions) as symlinks, I wouldn't think fixing that would be that
difficult,

     Personally, I'd like to see linux running as a subsystem on windows
like the old POSIX sybsystem.  That would solve all sorts of compat
problems.  ;-)    (ya, I know, when pigs fly)...



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