X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fdumper.c;h=9e93d0967d2877ec671927078680b0132341d41d;hb=ea7eabc1e143e5ae0ebf7c22af448f42bb736fe9;hp=153136796b8c20892b1298062b756dd1a89ad69d;hpb=8b2e8ef2dee7da2f0d4cea712b0fc55902c3cff7;p=chise%2Fxemacs-chise.git.1 diff --git a/src/dumper.c b/src/dumper.c index 1531367..9e93d09 100644 --- a/src/dumper.c +++ b/src/dumper.c @@ -282,7 +282,11 @@ static int pdump_fd; static void *pdump_buf; static FILE *pdump_out; +#ifdef UTF2000 +#define PDUMP_HASHSIZE 20000001 +#else #define PDUMP_HASHSIZE 200001 +#endif static pdump_entry_list_elt **pdump_hash; @@ -1067,7 +1071,8 @@ pdump (void) pdump_dump_root_objects (); fclose (pdump_out); - close (pdump_fd); + /* pdump_fd is already closed by the preceding fclose call + close (pdump_fd); */ free (pdump_buf);