+2011-08-19 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ * init.c (home_dir) [MSDOS]: Move local variable `len' here.
+
2011-08-18 Giuseppe Scrivano <giuseppe@southpole.se>
* http.c (gethttp): Fix a memory leak on some errors. Free the head
{
static char *buf = NULL;
static char *home, *ret;
- int len;
if (!home)
{
if (!home)
{
#if defined(MSDOS)
+ int len;
+
/* Under MSDOS, if $HOME isn't defined, use the directory where
`wget.exe' resides. */
const char *_w32_get_argv0 (void); /* in libwatt.a/pcconfig.c */