projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb3189
)
correct wget's comment
author
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 1 Feb 2007 01:53:25 +0000
(
01:53
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 1 Feb 2007 01:53:25 +0000
(
01:53
-0000)
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index 7766bde8893b82da4dcef33e1a337996bb33d0bf..432756ce5e4fbdfb7a924f87653df7ddf4f8cf95 100644
(file)
--- 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 == '/') {