1 2002-05-26 Koji Arai <arai@fgsd.mt.nec.co.jp>
3 * src/lhext.c (cmd_extract): discard useless fseek() calling (for MinGW).
5 * tests/lha-test.in: added some tests.
7 * tests/lha-test.in: specified `q' option on print archive test.
9 * src/lhadd.c (build_backup_file): On MinGW, cannot rename when
10 a new file already exists.
12 * src/lhext.c (extract_one): On MinGW, set binary on stdout when
13 print archive (`p' switch).
15 * tests/lha-test.in: added some tests.
17 * src/lhadd.c (report_archive_name_if_different): warning messages
18 should be printed to stderr rather than stdout.
21 * tests/Makefile.am: fix EXTRA_DIST.
23 * configure.in, configure.ac: update version.
25 * tests/lha-test.in: added tests.
27 * tests/Makefile.am: ditto.
29 * configure.in, configure.ac, Makefile.am: ditto.
31 2002-05-25 Koji Arai <jca02266@nifty.ne.jp>
37 * README.autoconf: added description for developpers.
39 * configure.in, configure.ac, config.h.in: refined.
41 * src/util.c (memmove): use HAVE_MEMMOVE.
42 (mkdir): use HAVE_WORKING_FORK.
44 * src/huf.c: use HAVE_SYS_PARAM_H instead of sony_news.
46 * IFNAMES (sony_news): updated.
48 * configure.ac, configure.in (AC_INIT): added autoconfiscated date.
51 2002-05-22 Koji Arai <jca02266@nifty.ne.jp>
53 * 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:
54 added modeline for vi(m).
56 * src/lharc.c: backslash was missing.
58 2002-05-20 Koji Arai <jca02266@nifty.ne.jp>
60 * src/lharc.c (open_old_archive): On MinGW, set binary stdin.
62 * src/lhadd.c (temporary_to_new_archive_file): On MinGW, set binary stdout.
64 * src/lha_macro.h: no define TMP_FILENAME_TEMPLATE in source.
66 * configure.ac, configure.in, README.autoconf: be able to specify
67 --with-tmp-file=no which meaning TMP_FILENAME_TEMPLATE is undefined.
69 * src/lha.h: correct usage of mkstemp().
70 On MinGW, opening file cannot be removed.
72 * src/lhadd.c (build_temporary_file): ditto.
74 * src/lharc.c (fatal_error): ditto.
76 2002-05-19 Koji Arai <jca02266@nifty.ne.jp>
78 * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
79 no use AM_C_PROTOTYPES for the present.
83 * src/lharc.c (print_tiny_usage_and_exit): change credit.
85 * src/lha_macro.h: put PLATFORM in a macro LHA_VERSION.
87 * src/lharc.c (print_version): ditto.
89 * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
91 2002-05-19 Koji Arai <jca02266@nifty.ne.jp>
95 * src/lharc.c (print_tiny_usage_and_exit): added credit.
96 (print_version): print PLATFORM.
98 * configure.ac, configure.in, config.h.in: define PLATFORM.
100 * src/lharc.c (xstrdup): fix typo.
102 * configure.ac: added for autoconf-2.53.
104 * config.h.in: regenerate by autoconf-2.53.
106 * src/lharc.c (find_files): MinGW has st_ino but always 0.
108 * src/lharc.c (main): provisionally fix. set
109 `get_filename_from_stdin' to false.
111 * src/util.c (rename): use builtin rename on mingw32 (since have
114 * src/lharc.c (main): use xrealloc().
116 * src/lha_macro.h: specify "b" modifier always (for mingw32).
118 * src/lharc.c: use xstrdup() instead of strdup().
120 * src/lha_macro.h: ditto.
122 * src/lha_macro.h: getuid(), chown(), kill() are provisionally
125 * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
127 * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
128 (build_backup_file): ditto.
130 * src/lharc.c (interrupt): ditto.
132 * src/lhext.c (extract_one): ditto.
134 * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
137 2002-05-18 Koji Arai <jca02266@nifty.ne.jp>
139 * lha_macro.h: define bcmp(), bzero(), bcopy() even if
140 STDC_HEADERS is defined.
142 * huf.c (alloc_buf): call fatal_error() when memory allocation failed
143 instead of returning NULL.
145 * lharc.c (main): use xmalloc().
147 * util.c (copyfile): use xmalloc().
149 * slide.c (encode_alloc): use xmalloc().
151 * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as
154 2001-02-03 Koji Arai <jca02266@nifty.ne.jp>
156 * README.autoconf, src/header.c: treat archive and system kanji
159 2001-01-31 Koji Arai <jca02266@nifty.ne.jp>
161 * configure.in: mistakes for default archive method.
163 * src/header.c: directory separator 0xff must be transpose slash
166 2001-01-29 Koji Arai <jca02266@nifty.ne.jp>
168 * src/lharc.c: replace MKSTEMP with HAVE_MKSTEMP.
169 substitute DEFAULT_LZHUFF_METHOD for the `compress_method' variable (it's default value).
171 * src/lha_macro.h: use the VERSION macro (defined by configure) for
172 the LHA_VERSION definition.
174 * src/header.c: added condition whether the macro MULTIBYTE_CHAR
177 * src/Makefile.am: added $(SUPPORT_LZHUFF_METHOD) in AM_CPPFLAGS.
179 * configure.in: change version number from 1.14f to 1.14i.
180 check function mkstemp().
181 replace --enable-lh6 option to --with-default-method=[567].
183 * config.h.in: added definitions of HAVE_MKSTEMP and
184 DEFAULT_LZHUFF_METHOD.
186 * IFNAMES: added a description about MKSTEMP.
188 * Makefile.am: added extra files.
190 * change-114f.txt, src/extract.c, src/header.c, src/huf.c, src/lha.h, src/lha_macro.h, src/lhadd.c, src/lharc.c, src/lhext.c, src/lhlist.c, src/maketbl.c, src/maketree.c, src/shuf.c, src/slide.c, src/util.c, src/dhuf.c, src/crcio.c:
191 merged changing from lha-1.14f to lha-1.14i.
193 * change-114i.txt, src/header.c, src/huf.c, src/lha.h, src/lharc.c:
196 * src/huf.c, src/lharc.c, src/shuf.c, src/slide.c: import lha-114h
198 * Makefile, README.euc, change-114g.txt, change-114h.txt:
201 * src/crcio.c, src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/lha.h, src/lha_macro.h, src/lhadd.c, src/lharc.c, src/lhext.c, src/util.c:
204 * MACHINES2.euc, Makefile, README.euc, change-114g.txt, config.eng, config.jpn.euc, header.doc.euc, src/lhlist.c, src/maketbl.c, src/maketree.c, src/makezero.c, src/shuf.c, src/slide.c:
207 * src/header.c, src/lha_macro.h: implemented kanji code conversion
210 * src/header.c: fix bug in euc2sjis().
212 1999-10-05 Koji Arai <jca02266@nifty.ne.jp>
214 * src/header.c: rename the macro HANKAKU_KATAKANA_P to the X0201_KANA_P
216 1999-09-30 Koji Arai <jca02266@nifty.ne.jp>
218 * IFNAMES, configure.in, Makefile.in.org, README.autoconf, config.h.in, man/Makefile.am, src/Makefile.am, src/Makefile.in.org, Makefile.am, src/header.c, src/huf.c, src/larc.c, src/lha.h, src/lha_macro.h, src/lhadd.c, src/lharc.c, src/lhdir.c, src/lhdir.h, src/lhext.c, src/lhlist.c, src/makefile.dj, src/maketbl.c, src/maketree.c, src/patmatch.c, src/shuf.c, src/slide.c, src/util.c, Makefile, man/Makefile, src/Makefile, src/append.c, src/crcio.c, src/dhuf.c, src/extract.c:
219 use the autoconf/automake
221 1999-08-28 Koji Arai <jca02266@nifty.ne.jp>
223 * Makefile: import the lha-114f
225 * change-114f.txt, config.jpn.euc, header.doc.euc: import the lha-114f
227 * CHANGES.euc, MACHINES.euc, PROBLEMS.euc, README.euc, change-114e.txt, config.eng:
230 * MACHINES2.euc, man/Makefile, man/lha.man, man/lha.n:
233 * src/append.c, src/crcio.c: import the lha-114f
235 * src/Makefile, src/lha.h, src/lha_macro.h, src/lharc.c, src/lhdir.c, src/lhdir.h, src/lhext.c, src/lhlist.c, src/makefile.dj, src/maketbl.c, src/maketree.c, src/patmatch.c, src/shuf.c, src/slide.c, src/util.c:
238 * src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c: