パスワードを忘れた? アカウント作成
5931598 journal
ソフトウェア

iidaの日記: GNU Wget 1.14

日記 by iida

GNU Wget 1.14が今朝、リリースされたようだ。

- - - - -

PS: NEWSファイルによると、TLSのServer Name Indication拡張に対応したらしい。ダイジェスト認証にも対応したらしい (今更な気もするが)。

configureスクリプトに--disable-ipv6引数を指定しても、AF_INET6マクロが未定義で、コンパイルが通らない。次の差分を適用するとよい。

--- wget-1.14/src/connect.c~    2012-06-02 17:36:09 +0000
+++ wget-1.14/src/connect.c     2012-08-07 04:12:10 +0000
@@ -294,8 +294,10 @@
        {
            if (ip->family == AF_INET)
                logprintf (LOG_VERBOSE, _("Connecting to %s:%d... "), txt_addr, port);
+#ifdef ENABLE_IPV6
            else if (ip->family == AF_INET6)
                logprintf (LOG_VERBOSE, _("Connecting to [%s]:%d... "), txt_addr, port);
+#endif
        }
     }

--- wget-1.14/src/http.c~       2012-07-07 08:57:20 +0000
+++ wget-1.14/src/http.c        2012-08-07 04:15:31 +0000
@@ -1962,11 +1962,13 @@
           int family = socket_family (pconn.socket, ENDPOINT_PEER);
           sock = pconn.socket;
           using_ssl = pconn.ssl;
+#if ENABLE_IPV6
           if (family == AF_INET6)
              logprintf (LOG_VERBOSE, _("Reusing existing connection to [%s]:%d.\n"),
                         quotearg_style (escape_quoting_style, pconn.host),
                          pconn.port);
           else
+#endif
              logprintf (LOG_VERBOSE, _("Reusing existing connection to %s:%d.\n"),
                         quotearg_style (escape_quoting_style, pconn.host),
                         pconn.port);

この議論は、iida (8060)によって テキとトモのテキ禁止として作成されたが、今となっては 新たにコメントを付けることはできません。
typodupeerror

クラックを法規制強化で止められると思ってる奴は頭がおかしい -- あるアレゲ人

読み込み中...