pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/fetch/files Remove t flag.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c8ff47b61a88
branches:  trunk
changeset: 553997:c8ff47b61a88
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 05 22:23:55 2009 +0000

description:
Remove t flag.

diffstat:

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

diffs (31 lines):

diff -r 2f47b0856991 -r c8ff47b61a88 net/fetch/files/fetch.c
--- a/net/fetch/files/fetch.c   Thu Feb 05 22:22:01 2009 +0000
+++ b/net/fetch/files/fetch.c   Thu Feb 05 22:23:55 2009 +0000
@@ -101,7 +101,6 @@
 off_t   S_size;        /*    -S: require size to match */
 int     s_flag;        /*    -s: show size, don't fetch */
 long    T_secs = 120;  /*    -T: transfer timeout in seconds */
-int     t_flag;        /*!   -t: workaround TCP bug */
 int     U_flag;        /*    -U: do not use high ports */
 int     v_level = 1;   /*    -v: verbosity level */
 int     v_tty;         /*        stdout is a tty */
@@ -780,7 +779,7 @@
        int c, e, r;
 
        while ((c = getopt(argc, argv,
-           "146AaB:dFilMmN:no:qRrS:sT:tUvw:")) != -1)
+           "146AaB:dFilMmN:no:qRrS:sT:Uvw:")) != -1)
                switch (c) {
                case '1':
                        once_flag = 1;
@@ -856,10 +855,6 @@
                        if (*optarg == '\0' || *end != '\0')
                                errx(1, "invalid timeout (%s)", optarg);
                        break;
-               case 't':
-                       t_flag = 1;
-                       warnx("warning: the -t option is deprecated");
-                       break;
                case 'U':
                        U_flag = 1;
                        break;



Home | Main Index | Thread Index | Old Index