← Commit list

de55b5d01

Denis Vlasenko
Denis Vlasenko
2007-02-01
FAILED Duration: 10s

Subject

correct wget's comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/wget.c+1 -1
@@ -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 == '/') {