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=aApnV ruB6fyW+0225UAV8E+OYrKzYR1of5rRVTDU/2f+vZvOftMtzvXGR0NJRbpBkpOfW DEkE1YiRH6MlAZCSfdhd447ouVjTlU/zP1ugPsYzSPjqt++wHGX6dyyAAHBaguU4 1WhgYzCDX5jIUCwN9Y8mfSeYVJ8E8t33Hr7oj0= 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=E5yOQ0m6QrE dVGzSZYLSRNYrWpk=; b=dESFTrw+fvMKLFHZAPPgzYzq2poeKgxH7DND8xabaDp z+KFJ+mZhupgfZRXnsy2OB2d55TmoH8HoOUhbahoNV+wJuISjMLhrXRhos5SL9D2 tLD4wvqWx8pgGJhsYneK7IxwXopJqyRR8Zgfg8te/Idr0/YZPBcYo8KmAkO2eIGE = 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.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Hx-languages-length:344, H*c:HHHH X-HELO: conssluserg-03.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w5H2EW3Z010885 X-Nifty-SrcIP: [125.3.30.127] Date: Sun, 17 Jun 2018 11:14:33 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: [bug: login] login command with -f flag fails to switch user account. Message-Id: <20180617111433.ee3c394532376c2db2c77bbc@nifty.ne.jp> In-Reply-To: <20180617101313.931ffc74f3a6e2ab504b6200@nifty.ne.jp> References: <20180614000248 DOT ddf33c4bf1ee219388db1b65 AT nifty DOT ne DOT jp> <20180617101313 DOT 931ffc74f3a6e2ab504b6200 AT nifty DOT ne DOT jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sun__17_Jun_2018_11_14_33_+0900_Q+jo/aWBEqlpeEY/" X-IsSubscribed: yes --Multipart=_Sun__17_Jun_2018_11_14_33_+0900_Q+jo/aWBEqlpeEY/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Corinna and Yaakov, On Sun, 17 Jun 2018 10:13:13 +0900 Takashi Yano wrote: > I have created a patch against the git head to solve this problem. > Could you please have a look? Fix typo and wording in commitment message. -- Takashi Yano --Multipart=_Sun__17_Jun_2018_11_14_33_+0900_Q+jo/aWBEqlpeEY/ Content-Type: application/octet-stream; name="0001-Fix-the-issue-that-login-command-with-f-flag-fails-t.patch" Content-Disposition: attachment; filename="0001-Fix-the-issue-that-login-command-with-f-flag-fails-t.patch" Content-Transfer-Encoding: base64 RnJvbSBiZTdhY2JlMTVlODFhZjJmNGM2NTg3ODY0NGZmZjU5M2U1YjEyOTRj IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBUYWthc2hpIFlhbm8g PHRha2FzaGkueWFub0BuaWZ0eS5uZS5qcD4KRGF0ZTogU2F0LCAxNiBKdW4g MjAxOCAyMTo1OTozMCArMDkwMApTdWJqZWN0OiBbUEFUQ0hdIEZpeCB0aGUg aXNzdWUgdGhhdCBsb2dpbiBjb21tYW5kIHdpdGggLWYgZmxhZyBmYWlscyB0 byBzd2l0Y2gKIHVzZXIgYWNjb3VudC4KCiogbG9naW4uYyAobWFpbik6IFVz ZSBnZXRwd25hbV9yKCkgaW5zdGVhZCBvZiBnZXRwd25hbSg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SBhL3dpbnNlYy5jCisrKyBiL3dpbnNlYy5jCkBAIC05 NzgsOCArOTc4LDcgQEAgZ2V0VXNlckluZm9Gb3JVSUQgKHVpZF90IHVpZCwK IAkgIC8qIGlmIHdlIGhhZCBhIGRvbWFpbiwgdGhlbiB0cnkgYWdhaW4gbG9j YWxseS4gaWYgd2UgZGlkbid0IGhhdmUgYQogCSAgICAgZG9tYWluLCB0aGVu IHRoZSBpbml0aWFsIGNhbGwgV0FTIGxvY2FsICovCiAJICBpZiAoTmV0VXNl ckdldEluZm8KLQkgICAgICAoKnVuaV9zZXJ2ZXJuYW1lLCAoTFBXU1RSKSAm IHVuaV9uYW1lLCBsZXZlbCwKLQkgICAgICAgYnVmcHRyKSAhPSBORVJSX1N1 Y2Nlc3MpCisJICAgICAgKE5VTEwsIChMUFdTVFIpICYgdW5pX25hbWUsIGxl dmVsLCBidWZwdHIpICE9IE5FUlJfU3VjY2VzcykKIAkgICAgewogCSAgICAg IHN5c2xvZyAoTE9HX0VSUiwKIAkJICAgICAgInVuYWJsZSB0byBvYnRhaW4g dXNlciBpbmZvIGZvciAlcyBbdHJpZWQgZG9tYWluIGNvbnRyb2xsZXIgJXMg YW5kIGxvY2FsaG9zdF1cbiIsCi0tIAoyLjE3LjAKCg== --Multipart=_Sun__17_Jun_2018_11_14_33_+0900_Q+jo/aWBEqlpeEY/ 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_11_14_33_+0900_Q+jo/aWBEqlpeEY/--