1 2002-05-22 Koji Arai <jca02266@nifty.ne.jp>
3 * src/append.c, src/crcio.c, src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c, src/lharc.c, src/lhdir.c, src/lhext.c, src/lhlist.c, src/maketbl.c, src/maketree.c, src/patmatch.c, src/shuf.c, src/slide.c, src/util.c:
4 added modeline for vi(m).
6 * src/lharc.c: backslash was missing.
8 2002-05-20 Koji Arai <arai@fgsd.mt.nec.co.jp>
10 * src/lharc.c (open_old_archive): On MinGW, set binary stdin.
12 * src/lhadd.c (temporary_to_new_archive_file): On MinGW, set binary stdout.
14 * src/lha_macro.h: no define TMP_FILENAME_TEMPLATE in source.
16 * configure.ac, configure.in, README.autoconf: be able to specify
17 --with-tmp-file=no which meaning TMP_FILENAME_TEMPLATE is undefined.
19 * src/lha.h: correct usage of mkstemp().
20 On MinGW, opening file cannot be removed.
22 * src/lhadd.c (build_temporary_file): ditto.
24 * src/lharc.c (fatal_error): ditto.
26 2002-05-19 Koji Arai <jca02266@nifty.ne.jp>
28 * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
29 no use AM_C_PROTOTYPES for the present.
33 * src/lharc.c (print_tiny_usage_and_exit): change credit.
35 * src/lha_macro.h: put PLATFORM in a macro LHA_VERSION.
37 * src/lharc.c (print_version): ditto.
39 * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
41 2002-05-19 Koji Arai <jca02266@nifty.ne.jp>
45 * src/lharc.c (print_tiny_usage_and_exit): added credit.
46 (print_version): print PLATFORM.
48 * configure.ac, configure.in, config.h.in: define PLATFORM.
50 * src/lharc.c (xstrdup): fix typo.
52 * configure.ac: added for autoconf-2.53.
54 * config.h.in: regenerate by autoconf-2.53.
56 * src/lharc.c (find_files): MinGW has st_ino but always 0.
58 * src/lharc.c (main): provisionally fix. set
59 `get_filename_from_stdin' to false.
61 * src/util.c (rename): use builtin rename on mingw32 (since have
64 * src/lharc.c (main): use xrealloc().
66 * src/lha_macro.h: specify "b" modifier always (for mingw32).
68 * src/lharc.c: use xstrdup() instead of strdup().
70 * src/lha_macro.h: ditto.
72 * src/lha_macro.h: getuid(), chown(), kill() are provisionally
75 * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
77 * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
78 (build_backup_file): ditto.
80 * src/lharc.c (interrupt): ditto.
82 * src/lhext.c (extract_one): ditto.
84 * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
87 2002-05-18 Koji Arai <jca02266@nifty.ne.jp>
89 * lha_macro.h: define bcmp(), bzero(), bcopy() even if
90 STDC_HEADERS is defined.
92 * huf.c (alloc_buf): call fatal_error() when memory allocation failed
93 instead of returning NULL.
95 * lharc.c (main): use xmalloc().
97 * util.c (copyfile): use xmalloc().
99 * slide.c (encode_alloc): use xmalloc().
101 * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as