From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48494: 28.0.50; [PATCH] AngeFTP fails on macOS 10.14 with GNU inetutils FTP Date: Tue, 18 May 2021 14:52:56 +0300 Message-ID: <83mtsss1gn.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20616"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48494@debbugs.gnu.org To: Alex Bochannek Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 18 13:53:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1liyHf-0005AK-HV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 13:53:11 +0200 Original-Received: from localhost ([::1]:49610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liyHe-0005Pm-Ih for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 May 2021 07:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liyHW-0005PK-KX for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 07:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liyHW-0002qO-Bh for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 07:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1liyHW-00055S-AL for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48494 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 48494-submit@debbugs.gnu.org id=B48494.162133877719545 (code B ref 48494); Tue, 18 May 2021 11:53:02 +0000 Original-Received: (at 48494) by debbugs.gnu.org; 18 May 2021 11:52:57 +0000 Original-Received: from localhost ([127.0.0.1]:54588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liyHR-00055B-IG for submit@debbugs.gnu.org; Tue, 18 May 2021 07:52:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liyHQ-00054y-00 for 48494@debbugs.gnu.org; Tue, 18 May 2021 07:52:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60520) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liyHK-0002ib-9u; Tue, 18 May 2021 07:52:50 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4639 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liyHJ-0005lB-Rh; Tue, 18 May 2021 07:52:50 -0400 In-Reply-To: (message from Alex Bochannek on Mon, 17 May 2021 20:53:41 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206772 Archived-At: > From: Alex Bochannek > Date: Mon, 17 May 2021 20:53:41 -0700 > > There is no -e option for Windows FTP and ftp will terminate when > receiving an unknown option (tested version Windows 10.0.19042.928) > > There is no -e option in Solaris FTP and I cannot test how it responds > to an unknown option. > > I am proposing the below patch which resolves the problem on macOS with > GNU inetutils and does no harm for Netkit-ftp/lukemftp/tnftp. > > However, because of the way a Windows client would respond, I am open to > different approaches including considering this an inetutils bug > instead. How about making the default value depend on the value of system-type?