pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/fetch/files Also remove unused b flag.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f47b0856991
branches:  trunk
changeset: 553996:2f47b0856991
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 05 22:22:01 2009 +0000

description:
Also remove unused b flag.

diffstat:

 net/fetch/files/fetch.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r e23c82050dac -r 2f47b0856991 net/fetch/files/fetch.c
--- a/net/fetch/files/fetch.c   Thu Feb 05 22:19:57 2009 +0000
+++ b/net/fetch/files/fetch.c   Thu Feb 05 22:22:01 2009 +0000
@@ -84,7 +84,6 @@
 int     A_flag;        /*    -A: do not follow 302 redirects */
 int     a_flag;        /*    -a: auto retry */
 off_t   B_size;        /*    -B: buffer size */
-int     b_flag;        /*!   -b: workaround TCP bug */
 int     d_flag;        /*    -d: direct connection */
 int     F_flag;        /*    -F: restart without checking mtime  */
 int     i_flag;        /*    -i: fetch file if modified */
@@ -781,7 +780,7 @@
        int c, e, r;
 
        while ((c = getopt(argc, argv,
-           "146AaB:bdFilMmN:no:qRrS:sT:tUvw:")) != -1)
+           "146AaB:dFilMmN:no:qRrS:sT:tUvw:")) != -1)
                switch (c) {
                case '1':
                        once_flag = 1;
@@ -803,10 +802,6 @@
                        if (*optarg == '\0' || *end != '\0')
                                errx(1, "invalid buffer size (%s)", optarg);
                        break;
-               case 'b':
-                       warnx("warning: the -b option is deprecated");
-                       b_flag = 1;
-                       break;
                case 'd':
                        d_flag = 1;
                        break;



Home | Main Index | Thread Index | Old Index