delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/06/16/21:13:38

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:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type; q=dns; s=default; b=LWSQ0
tsShkGJastRizFwULpYyPPwVMXkGplVzIJVN8t1/550uU6JJbXnOI4qdwPMQnlDm
SqimI5SzCuAja+88zB5UfoEH6zxdO9wEFHIcywbiP32GZHcsIhmvQBhsDKFR/0VK
p/0wFOJvV3chM0YngxHs/g5FiJNVrNKoRG00gk=
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:date:from:to:subject:message-id:in-reply-to
:references:mime-version:content-type; s=default; bh=jimR1A2E/VN
nFh3lam+Vkhtb5c8=; b=W/1EOv/nriBXRF5IDggzLYWgDcskmcIMoCF9vfkstWb
pGzMFARtpIQ7dOgEdH7zd1U317PZb3dyyDQh2pjNdBQJG7feMSJlW/AVwYbk32W3
p+Vte02iVt8VAiYJLUWorsOw0GgikcLiXZFbxQmjR3WEFqJXa+fCnjxPHJV+RzY4
=
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.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:241, H*F:D*ne.jp, H*c:HHHH
X-HELO: conssluserg-05.nifty.com
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com w5H1DCs7003654
X-Nifty-SrcIP: [125.3.30.127]
Date: Sun, 17 Jun 2018 10:13:13 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Subject: Re: [bug: login] login command with -f flag fails to switch user account.
Message-Id: <20180617101313.931ffc74f3a6e2ab504b6200@nifty.ne.jp>
In-Reply-To: <20180614000248.ddf33c4bf1ee219388db1b65@nifty.ne.jp>
References: <20180614000248 DOT ddf33c4bf1ee219388db1b65 AT nifty DOT ne DOT jp>
Mime-Version: 1.0
X-IsSubscribed: yes

--Multipart=_Sun__17_Jun_2018_10_13_13_+0900__MdCY.uNyQ3bHCaQ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi Corinna and Yaakov,

I have created a patch against the git head to solve this problem.

Could you please have a look?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

--Multipart=_Sun__17_Jun_2018_10_13_13_+0900__MdCY.uNyQ3bHCaQ
Content-Type: application/octet-stream;
 name="0001-Fixed-the-failure-in-the-case-of-trying-to-switch-us.patch"
Content-Disposition: attachment;
 filename="0001-Fixed-the-failure-in-the-case-of-trying-to-switch-us.patch"
Content-Transfer-Encoding: base64

RnJvbSBiMDcwYmIwZjljZWQwMDFkM2ZlZTQwYTc1YTQ4ODJmZjE3ZDAyNDI4
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBUYWthc2hpIFlhbm8g
PHRha2FzaGkueWFub0BuaWZ0eS5uZS5qcD4KRGF0ZTogU2F0LCAxNiBKdW4g
MjAxOCAyMTo1OTozMCArMDkwMApTdWJqZWN0OiBbUEFUQ0hdIEZpeGVkIHRo
ZSBmYWlsdXJlIGluIHRoZSBjYXNlIG9mIHRyeWluZyB0byBzd2l0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0Ci0t
LSBhL3dpbnNlYy5jCisrKyBiL3dpbnNlYy5jCkBAIC05NzgsOCArOTc4LDcg
QEAgZ2V0VXNlckluZm9Gb3JVSUQgKHVpZF90IHVpZCwKIAkgIC8qIGlmIHdl
IGhhZCBhIGRvbWFpbiwgdGhlbiB0cnkgYWdhaW4gbG9jYWxseS4gaWYgd2Ug
ZGlkbid0IGhhdmUgYQogCSAgICAgZG9tYWluLCB0aGVuIHRoZSBpbml0aWFs
IGNhbGwgV0FTIGxvY2FsICovCiAJICBpZiAoTmV0VXNlckdldEluZm8KLQkg
ICAgICAoKnVuaV9zZXJ2ZXJuYW1lLCAoTFBXU1RSKSAmIHVuaV9uYW1lLCBs
ZXZlbCwKLQkgICAgICAgYnVmcHRyKSAhPSBORVJSX1N1Y2Nlc3MpCisJICAg
ICAgKE5VTEwsIChMUFdTVFIpICYgdW5pX25hbWUsIGxldmVsLCBidWZwdHIp
ICE9IE5FUlJfU3VjY2VzcykKIAkgICAgewogCSAgICAgIHN5c2xvZyAoTE9H
X0VSUiwKIAkJICAgICAgInVuYWJsZSB0byBvYnRhaW4gdXNlciBpbmZvIGZv
ciAlcyBbdHJpZWQgZG9tYWluIGNvbnRyb2xsZXIgJXMgYW5kIGxvY2FsaG9z
dF1cbiIsCi0tIAoyLjE3LjAKCg==


--Multipart=_Sun__17_Jun_2018_10_13_13_+0900__MdCY.uNyQ3bHCaQ
Content-Type: text/plain; charset=us-ascii


--
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
--Multipart=_Sun__17_Jun_2018_10_13_13_+0900__MdCY.uNyQ3bHCaQ--

- Raw text -


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