fix type, add GC_INIT().

This commit is contained in:
Dai Sato
2007-05-31 01:19:50 +00:00
parent 8917c3d381
commit 50c06d19a9
6 changed files with 17 additions and 8 deletions
+7 -1
View File
@@ -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 $
+2 -2
View File
@@ -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;
}
+2 -2
View File
@@ -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
+2 -1
View File
@@ -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);
+2 -1
View File
@@ -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;
+2 -1
View File
@@ -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;