Small tweak cherry-picked from Devin Bayer's monster MacOS X patch.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -238,7 +238,7 @@ int wget_main(int argc, char **argv) | |
| if (!fname_out) { | |
| // Dirty hack. Needed because bb_get_last_path_component | |
| // will destroy trailing / by storing '\0' in last byte! | |
| - | if(target.path[strlen(target.path)-1]!='/') { |
| + | if(*target.path && target.path[strlen(target.path)-1]!='/') { |
| fname_out = | |
| #ifdef CONFIG_FEATURE_WGET_STATUSBAR | |
| curfile = | |