correct wget's comment
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 1 Feb 2007 01:53:25 +0000 (01:53 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 1 Feb 2007 01:53:25 +0000 (01:53 -0000)
networking/wget.c

index 7766bde8893b82da4dcef33e1a337996bb33d0bf..432756ce5e4fbdfb7a924f87653df7ddf4f8cf95 100644 (file)
@@ -535,7 +535,7 @@ static void parse_url(char *src_url, struct host_info *h)
        p = strchr(h->host, '?'); if (!sp || (p && sp > p)) sp = p;
        p = strchr(h->host, '#'); if (!sp || (p && sp > p)) sp = p;
        if (!sp) {
-               /* gcc 4.1.1 bug: h->path = "" puts "" in rodata! */
+               /* must be writable because of bb_get_last_path_component() */
                static char nullstr[] = "";
                h->path = nullstr;
        } else if (*sp == '/') {