1 2002-05-20 Koji Arai <arai@fgsd.mt.nec.co.jp>
3 * src/lha.h: correct usage of mkstemp().
4 On MinGW, opened file cannot be removed.
6 * src/lhadd.c (build_temporary_file): ditto.
8 * src/lharc.c (fatal_error): ditto.
10 2002-05-19 Koji Arai <jca02266@nifty.ne.jp>
12 * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
13 no use AM_C_PROTOTYPES for the present.
17 * src/lharc.c (print_tiny_usage_and_exit): change credit.
19 * src/lha_macro.h: put PLATFORM in LHA_VERSION macro.
21 * src/lharc.c (print_version): ditto.
23 * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
25 2002-05-19 Koji Arai <jca02266@nifty.ne.jp>
29 * src/lharc.c (print_tiny_usage_and_exit): added credit.
30 (print_version): print PLATFORM.
32 * configure.ac, configure.in, config.h.in: define PLATFORM.
34 * src/lharc.c (xstrdup): fix typo.
36 * configure.ac: added for autoconf-2.53.
38 * config.h.in: regenerate by autoconf-2.53.
40 * src/lharc.c (find_files): MinGW has st_ino but always 0.
42 * src/lharc.c (main): provisionally fix. set
43 `get_filename_from_stdin' to false.
45 * src/util.c (rename): use builtin rename on mingw32 (since have
48 * src/lharc.c (main): use xrealloc().
50 * src/lha_macro.h: specify "b" modifier always (for mingw32).
52 * src/lharc.c: use xstrdup() instead of strdup().
54 * src/lha_macro.h: ditto.
56 * src/lha_macro.h: getuid(), chown(), kill() are provisionally
59 * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
61 * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
62 (build_backup_file): ditto.
64 * src/lharc.c (interrupt): ditto.
66 * src/lhext.c (extract_one): ditto.
68 * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
71 2002-05-18 Koji Arai <jca02266@nifty.ne.jp>
73 * lha_macro.h: define bcmp(), bzero(), bcopy() even if
74 STDC_HEADERS is defined.
76 * huf.c (alloc_buf): call fatal_error() when memory allocation failed
77 instead of returning NULL.
79 * lharc.c (main): use xmalloc().
81 * util.c (copyfile): use xmalloc().
83 * slide.c (encode_alloc): use xmalloc().
85 * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as