From 50c06d19a9db3878ad4e8bd6c8b4f55613de6d8d Mon Sep 17 00:00:00 2001 From: Dai Sato Date: Thu, 31 May 2007 01:19:50 +0000 Subject: fix type, add GC_INIT(). --- ChangeLog | 8 +++++++- ftp.c | 4 ++-- main.c | 4 ++-- mktable.c | 3 ++- w3mbookmark.c | 3 ++- w3mhelperpanel.c | 3 ++- 6 files changed, 17 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index c26be46..d57e8d0 100644 --- 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 * [w3m-dev 04266] Bug fix when tab browsing @@ -8900,4 +8906,4 @@ a * [w3m-dev 03276] compile error on EWS4800 * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.996 2007/05/30 04:47:24 inu Exp $ +$Id: ChangeLog,v 1.997 2007/05/31 01:19:50 inu Exp $ diff --git a/ftp.c b/ftp.c index ce4ae19..e3f8c2e 100644 --- a/ftp.c +++ b/ftp.c @@ -1,4 +1,4 @@ -/* $Id: ftp.c,v 1.38 2007/05/23 15:06:05 inu Exp $ */ +/* $Id: ftp.c,v 1.39 2007/05/31 01:19:50 inu Exp $ */ #include #ifndef __MINGW32_VERSION #include @@ -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 index 1731dde..fed8c55 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.257 2007/05/30 04:47:24 inu Exp $ */ +/* $Id: main.c,v 1.258 2007/05/31 01:19:50 inu Exp $ */ #define MAINPROGRAM #include "fm.h" #include @@ -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 index a90b52a..9cbe620 100644 --- a/mktable.c +++ b/mktable.c @@ -1,4 +1,4 @@ -/* $Id: mktable.c,v 1.14 2003/09/22 21:02:20 ukai Exp $ */ +/* $Id: mktable.c,v 1.15 2007/05/31 01:19:50 inu Exp $ */ #include #include #include "myctype.h" @@ -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 index b1c63bf..4355536 100644 --- a/w3mbookmark.c +++ b/w3mbookmark.c @@ -1,4 +1,4 @@ -/* $Id: w3mbookmark.c,v 1.11 2004/07/15 16:44:37 ukai Exp $ */ +/* $Id: w3mbookmark.c,v 1.12 2007/05/31 01:19:50 inu Exp $ */ #include #include #include "config.h" @@ -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 index 30a85db..110794b 100644 --- a/w3mhelperpanel.c +++ b/w3mhelperpanel.c @@ -1,4 +1,4 @@ -/* $Id: w3mhelperpanel.c,v 1.13 2003/09/23 18:42:25 ukai Exp $ */ +/* $Id: w3mhelperpanel.c,v 1.14 2007/05/31 01:19:50 inu Exp $ */ #include #include #include @@ -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; -- cgit v1.2.3