aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDai Sato <satodai@w3m.jp>2007-05-31 01:19:50 +0000
committerDai Sato <satodai@w3m.jp>2007-05-31 01:19:50 +0000
commit50c06d19a9db3878ad4e8bd6c8b4f55613de6d8d (patch)
treed8caf1d1c50a2eda88e40cb0c3059a04a5b67d9d
parentfix for tab browsing. [w3m-dev 04266] (diff)
downloadw3m-50c06d19a9db3878ad4e8bd6c8b4f55613de6d8d.tar.gz
w3m-50c06d19a9db3878ad4e8bd6c8b4f55613de6d8d.zip
fix type, add GC_INIT().
Diffstat (limited to '')
-rw-r--r--ChangeLog8
-rw-r--r--ftp.c4
-rw-r--r--main.c4
-rw-r--r--mktable.c3
-rw-r--r--w3mbookmark.c3
-rw-r--r--w3mhelperpanel.c3
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 <hsaka@mth.biglobe.ne.jp>
* [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 <stdio.h>
#ifndef __MINGW32_VERSION
#include <pwd.h>
@@ -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 <signal.h>
@@ -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 <stdio.h>
#include <stdlib.h>
#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 <stdlib.h>
#include <stdio.h>
#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 <errno.h>
#include <stdlib.h>
#include <stdio.h>
@@ -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;