commit 98b198cf036a42064200ad5b175bd3c8b6c8ea05
parent 52fcf5088376e8529b4d10afd963cea28f97482f
Author: inu <inu>
Date: Thu, 31 May 2007 01:19:50 +0000
fix type, add GC_INIT().
Diffstat:
6 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-31 Tsutomu OKADA
+
+ * [20070530101431@w3mbbs] Re: road to 0.5.2
+ * ftp.c: fix typo.
+ * main.c, mktable.c, w3mbookmark.c, w3mhelperpanel.c: add GC_INIT().
+
2007-05-30 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [w3m-dev 04266] Bug fix when tab browsing
diff --git a/ftp.c b/ftp.c
@@ -398,7 +398,7 @@ openFTPStream(ParsedURL *pu, URLFile *uf)
tmp = Strnew_charp(mypw ? mypw->pw_name : "anonymous");
#else
tmp = Strnew_charp("anonymous");
-#endif __MINGW32_VERSION
+#endif /* __MINGW32_VERSION */
Strcat_char(tmp, '@');
pass = tmp->ptr;
}
diff --git a/main.c b/main.c
@@ -392,7 +392,7 @@ main(int argc, char **argv, char **envp)
wc_ces CodePage;
#endif
#endif
- GC_init();
+ GC_INIT();
#if defined(ENABLE_NLS) || (defined(USE_M17N) && defined(HAVE_LANGINFO_CODESET))
setlocale(LC_ALL, "");
#endif
diff --git a/mktable.c b/mktable.c
@@ -36,6 +36,7 @@ main(int argc, char *argv[], char **envp)
char *p;
Hash_hss_i *rhash;
+ GC_INIT();
if (argc != 3) {
fprintf(stderr, "usage: %s hashsize file.tab > file.c\n", argv[0]);
exit(1);
diff --git a/w3mbookmark.c b/w3mbookmark.c
@@ -191,6 +191,7 @@ main(int argc, char *argv[], char **envp)
char *charset;
char *sent_cookie;
+ GC_INIT();
p = getenv("REQUEST_METHOD");
if (p == NULL || strcasecmp(p, "post"))
goto request_err;
diff --git a/w3mhelperpanel.c b/w3mhelperpanel.c
@@ -174,6 +174,7 @@ main(int argc, char *argv[], char **envp)
char *mode;
char *sent_cookie;
+ GC_INIT();
p = getenv("REQUEST_METHOD");
if (p == NULL || strcasecmp(p, "post"))
goto request_err;