bin/57297: Support for default passive ftp mode in fetch

Jukka A. Ukkonen jau at mawit.com
Thu Oct 2 02:15:42 PDT 2003


OK here is an attempt to copy the patch to X cut buffer using wxcopy,
then via xcb to xclipboard, and then pasting it to the message body...

--- fetch.c.orig	Fri Sep 26 23:07:02 2003
+++ fetch.c	Sun Sep 28 00:32:22 2003
@@ -703,6 +703,15 @@
 	char *end, *q;
 	int c, e, r;

+	p = getenv ("FTP_PASSIVE_MODE");
+
+	if (! p || ! strcasecmp (p, "NO")) {
+		p_flag = 0;
+	}
+	else {
+		p_flag = 1;
+	}
+
 	while ((c = getopt(argc, argv,
 	    "146AaB:bc:dFf:Hh:lMmN:nPpo:qRrS:sT:tUvw:")) != -1)
 		switch (c) {

I hope that all white space including tabs and simple \n line breaks
survived the operation.

-- 
        Cheers,
                // jau
.---  ..-  -.-  -.-  .-    .-  .-.-.-    ..-  -.-  -.-  ---  -.  .  -.
  /    Jukka A. Ukkonen,                            Mawit Ltd, Finland
 /__   M.Sc. (sw-eng & cs)                    (Phone) +358-500-606-671
   /   Internet: Jukka.Ukkonen(a)Mawit.Com      (Home) +358-9-6215-280
  /    Internet: ukkonen(a)nic.funet.fi
 v     Internet: jau(a)iki.fi

+ + + + My opinions are mine and mine alone, not my employers. + + + +


Quoting Ceri Davies:
> Synopsis: Support for default passive ftp mode in fetch
>
> State-Changed-From-To: open->feedback
> State-Changed-By: ceri
> State-Changed-When: Wed Oct 1 13:52:01 PDT 2003
> State-Changed-Why:
> Could you please followup to this PR with either an inline patch,
> or uuencoded?  Thanks.
>
>
> Responsible-Changed-From-To: gnats-admin->freebsd-bugs
> Responsible-Changed-By: ceri
> Responsible-Changed-When: Wed Oct 1 13:52:01 PDT 2003
> Responsible-Changed-Why:
> Reassign misfiled PR.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=57297





More information about the freebsd-bugs mailing list