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=wJ9bV xn4rVh56Dio+IibgI91t9dZ06k+bjX8l6GTVvn0CeVWY7TVXtoEmoCh7+UN7AeqO 1MYpEeruEq+IxJZ3ZDNoO0NoSi7Ai9NAcWIChACYd6eG6TjIFKrS5o2bOAlOE5vD pAgTOVJ2RWcOAZmzhDofZaxk1NK6jlwW0YVqnE= 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=OpegVIU8XMh aEvcS7vL5GMG5g+A=; b=Wk5xXzKxYdawJncV8RAs9BTfVa7xJU3OhmP+W13+dr3 9vG/AwD+cA5F0zvAaJ1MFnDVvkptIJ9e8D5dCTKTNafnZLAF830ZScumxhXJFELk dwdROFqlxNe+kuAup6xzhyfDUsOz/oBgshgUDpf/b49mqwsoZhQMvK2hJcyuGU7c = 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:268, H*c:HHHH X-HELO: conssluserg-01.nifty.com DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com w5H3gVSG007957 X-Nifty-SrcIP: [125.3.30.127] Date: Sun, 17 Jun 2018 12:42: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: <20180617124233.6bfc34284a3a8906817fb739@nifty.ne.jp> In-Reply-To: <20180617111433.ee3c394532376c2db2c77bbc@nifty.ne.jp> References: <20180614000248 DOT ddf33c4bf1ee219388db1b65 AT nifty DOT ne DOT jp> <20180617101313 DOT 931ffc74f3a6e2ab504b6200 AT nifty DOT ne DOT jp> <20180617111433 DOT ee3c394532376c2db2c77bbc AT nifty DOT ne DOT jp> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sun__17_Jun_2018_12_42_33_+0900_+i.W81rWD/0UJkA5" X-IsSubscribed: yes --Multipart=_Sun__17_Jun_2018_12_42_33_+0900_+i.W81rWD/0UJkA5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 17 Jun 2018 11:14:33 +0900 Takashi Yano wrote: > Fix typo and wording in commitment message. Fixed again. Sorry. -- Takashi Yano --Multipart=_Sun__17_Jun_2018_12_42_33_+0900_+i.W81rWD/0UJkA5 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 RnJvbSBiODY2OWM5MGUwMTdlMGI2NDgxY2IxZWJhYThlOWJlMzIxZmNjMGFh IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBUYWthc2hpIFlhbm8g PHRha2FzaGkueWFub0BuaWZ0eS5uZS5qcD4KRGF0ZTogU2F0LCAxNiBKdW4g MjAxOCAyMTo1OTozMCArMDkwMApTdWJqZWN0OiBbUEFUQ0hdIEZpeCB0aGUg aXNzdWUgdGhhdCBsb2dpbiBjb21tYW5kIHdpdGggLWYgZmxhZyBmYWlscyB0 byBzd2l0Y2gKIHVzZXIgYWNjb3VudC4KCiogbG9naW4uYyAobWFpbik6IFVz ZSBnZXRwd25hbV9yKCkgaW5zdGVhZCBvZiBnZXRw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WNmIDEwMDY0NAotLS0gYS93aW5zZWMuYworKysgYi93aW5z ZWMuYwpAQCAtOTc4LDggKzk3OCw3IEBAIGdldFVzZXJJbmZvRm9yVUlEICh1 aWRfdCB1aWQsCiAJICAvKiBpZiB3ZSBoYWQgYSBkb21haW4sIHRoZW4gdHJ5 IGFnYWluIGxvY2FsbHkuIGlmIHdlIGRpZG4ndCBoYXZlIGEKIAkgICAgIGRv bWFpbiwgdGhlbiB0aGUgaW5pdGlhbCBjYWxsIFdBUyBsb2NhbCAqLwogCSAg aWYgKE5ldFVzZXJHZXRJbmZvCi0JICAgICAgKCp1bmlfc2VydmVybmFtZSwg KExQV1NUUikgJiB1bmlfbmFtZSwgbGV2ZWwsCi0JICAgICAgIGJ1ZnB0cikg IT0gTkVSUl9TdWNjZXNzKQorCSAgICAgIChOVUxMLCAoTFBXU1RSKSAmIHVu aV9uYW1lLCBsZXZlbCwgYnVmcHRyKSAhPSBORVJSX1N1Y2Nlc3MpCiAJICAg IHsKIAkgICAgICBzeXNsb2cgKExPR19FUlIsCiAJCSAgICAgICJ1bmFibGUg dG8gb2J0YWluIHVzZXIgaW5mbyBmb3IgJXMgW3RyaWVkIGRvbWFpbiBjb250 cm9sbGVyICVzIGFuZCBsb2NhbGhvc3RdXG4iLAotLSAKMi4xNy4wCgo= --Multipart=_Sun__17_Jun_2018_12_42_33_+0900_+i.W81rWD/0UJkA5 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_12_42_33_+0900_+i.W81rWD/0UJkA5--