From de55b5d014ac8800f0e7bfffa9a74d93beec28af Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Thu, 1 Feb 2007 01:53:25 +0000 Subject: [PATCH] correct wget's comment --- networking/wget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/wget.c b/networking/wget.c index 7766bde88..432756ce5 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -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 == '/') { -- 2.25.1