delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/19/16:03:20

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=E/bR/O65jXY3c/AX
vzJRcfWYP8PJ4OHTMc6faXPEBtZZBpKSiQRdXV0dizqP/nDGHjhPdQxsXIsKBPyi
Q/4ro6YzT+0rsm3QUgkahjval6K6MvZUejKIrZnWGx2GcYaPncEluqJouX4hhNNT
PGLQosZKEgWvX0dg2S8xRfjtuag=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=6QZ9N4prqS+aEWmxRrnYZk
BD6wU=; b=ageiB2xwDBsHEuLAOobIqjL8yMxHvRQNoFxz1uruua/5egh1Vy3c4T
DrCPNcby0xlfmOEH7BdsfqlsfreQBJY0A6mSxFSGSgMJFf44jHrQSNwrv98E5yrn
BDJAFERu+H/P7urO7NKZmhBjMkzCb4EgmYRyov++THNEfr1IC5xmY=
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.4 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=emember, memberus, MemberUS, Emember
X-HELO: mout.kundenserver.de
Subject: Re: mintty fails to start
To: cygwin AT cygwin DOT com
References: <2145564667 DOT 803491 DOT 1484839522957 DOT ref AT mail DOT yahoo DOT com> <2145564667 DOT 803491 DOT 1484839522957 AT mail DOT yahoo DOT com>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <3f34b107-13f3-f42b-28ad-a1c671297ea4@towo.net>
Date: Thu, 19 Jan 2017 22:02:56 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <2145564667.803491.1484839522957@mail.yahoo.com>
X-UI-Out-Filterresults: notjunk:1;V01:K0:Kqcz8+Imb9g=:NJj/KWjgF6ZCkfhrx/AH1M o3EoyYNwLXKGnS6deJy5puSqyEPYWk8B6yXQBP3qQLvq3lS6lANm+QU61yI8A1WjHLxi6oleG agdV/PvJkkExCxQf76JMptbIM/2GxLGOaHKVfDjAGlwv6vPrZ9W978xWH4/ePa/7M5RDKkCGE 0CFGp81i0bwF/tNxilKtCi7nI57dRg7YJEt6gJA7ct+0pYFsX5gUWweMKqephc2Jvy1T6UAPE DaPWZVBRIdqhZSqQP6b16DaN3X3WL87wscwtCBQiCNq5/LYwc9hu+IM2c27M3Y//UheU3OgNs fnzrPZVP6ScDoyZDD2k5X080DMabcdEcDLATDw5iRbMh2mJK3AHGqevjb3g6W4773G9oR6eJu sIBe7uSoAuubApFOsQV3U8G+LgjOmKNN77uAWVCaxnTY1/9jAgJgNhTO9sxyh35JfEszr4GjW akbge4SeYRaDMOfp3iupFPG2/tEVp6wBWcVPg474F7S43PsnGN4bv8rZQoyQpSfiJj5Y2TiD3 mVP5LAY93f97g4kR4mUltlpBIb9MZNwmkTWtfE0vegwEYtW5I7hQqQTM8tSJI3x70yvtTAbCQ g9lsNgiPxgs1e/yo+p9vSO9tyqbBpk/alXVaGvrITxISzp0ER1hVGPHFdchX1gH3wk9IfGVWQ j7NryE3qGkQNxne0VwAOKRqzzHGl61QsrMF9g/xqwUW0pQlDPAK9dRoqh/6spX0qfLfZe00pi hQrlui497FcSbTjJ
X-IsSubscribed: yes

Am 19.01.2017 um 16:25 schrieb Emember MemberUS via cygwin:
> ...
>
> Suggestion: produce an error message that would help identifying this problem when mintty starts.
> NOTE: this issue happens only in cygwin, and only when both files are present: /bin/bash.exe and empty /bin/bash.
> If no bash is present, mintty issues a correct error message.
One interesting test case may be to remove the x bit from the empty bash 
file, to see that mintty handles invocation errors properly.
The issue is that invocation of an empty file (provided that the x bit 
is set) is not considered an error in a Linux environment, and thus on 
cygwin, so the exec system call does not report an error in the first place.
There is nothing that can be done about it, the behaviour is correct.
------
Thomas

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