OSDN Git Service

*** empty log message ***
[lha/lha.git] / ChangeLog
1 2002-07-18  Koji Arai  <jca02266@nifty.ne.jp>
2
3         * released.
4
5         * configure.ac: updated version.
6
7         * src/lhext.c (adjust_info): should use `struct utimbuf' for
8         `utime(2)' rather than `time_t' array.
9
10         * src/header.c (write_header): [BUG] should not write zero at the
11         first byte on level 2 header. should adjust header size.
12
13         * tests/lha-test10: added tests for level 2 header.
14
15         * src/lha_macro.h, src/header.c (setup_get): moved to header.c.
16         (get_byte): ditto.
17         (put_ptr): ditto.
18         (setup_put): ditto.
19         (put_byte): ditto.
20         (get_bytes): newly added.
21         (put_bytes): newly added.
22
23 2002-07-17  Koji Arai  <jca02266@nifty.ne.jp>
24
25         * src/header.c (get_header): [BUG] Could not read level 2 header
26         when the header size is grater than 256.
27         (convert_filename): Should use the `FILENAME_LENGTH' macro rather
28         than 256.
29         (write_header): [BUG] Suppress to overflow the header size when
30         long filename is written in level 0 or 1 header. On level 1
31         header, always use the extended filename header instead of the
32         base header.
33
34         * src/lha.h (LzHeader): the type of `header_size' was changed
35         from `unsigned char' to `int', for the level 2 header archive.
36
37         * src/lhext.c (extract_one): should use the `FILENAME_LENGTH'
38         macro rather than 256 (provisionally fixed).
39
40         * tests/lha-test.in: notify failed test number.
41
42         * tests/lha-test10: added tests for long pathname.
43
44 2002-07-14  Koji Arai  <jca02266@nifty.ne.jp>
45
46         * re-released.
47
48         * src/header.c (get_header): archive path separator should be
49         converted always.
50
51         * released.
52
53         * configure.ac: updated version.
54
55         * src/header.c (write_header): if user/group name is not set,
56         extended header (0x52 and 0x53) should not be made.
57
58         * tests/lha-test10: added testing to handle deep directory.
59
60         * src/header.c (write_header): fixed typo, not strchr() but
61         strrchr().
62
63         * src/prototypes.h: regenerated.
64
65         * src/header.c (convert_filename): prefer to use the
66         `FILENAME_LENGTH' macro rather than 256.
67
68         * src/cproto.sh: fixed typo.
69
70 2002-07-11  Koji Arai  <jca02266@nifty.ne.jp>
71
72         * tests/Makefile.am (EXTRA_DIST): lha-test9 and lha-test10 were missed.
73
74         * src/lharc.c (print_tiny_usage): no exit here.
75
76         * src/header.c (ConvertEncodingByIconv): newly added.
77         Thanks to Hiroto Sakai.
78
79         * configure.ac, config.h.in: Checking to have iconv() for utf-8
80         conversion.
81
82         * configure.ac: Checking whether strrchr() is 8 bit clean or not.
83         On Mac OS X, strchr() can handle 8 bit characters, but strrchr()
84         cannot.
85         Should use '\377' rather than '\xff' for de-ANSI compiler.
86
87 2002-07-10  Koji Arai  <jca02266@nifty.ne.jp>
88
89         * released.
90
91         * configure.ac: updated version.
92
93         * src/header.c: change hex codes '\xff' to octal codes '\377'.
94
95         * tests/lha-test.in: Skip the lha-test9. (this test is imcomplete
96         for now)
97
98         * tests/lha-test10: Should extract directory even if the archive
99         header was level 0.
100
101         * src/header.c (get_header): Should convert kanji code and path
102         separator for the level 0 header entry.
103         Should convert `\' to `/' for level 0 header (do always to make sure,
104         SO CANNOT CONTAIN THE `\' IN FILENAME).
105         (init_header): Should not convert path separator here (Should do
106         in write_header()).
107         (write_header): should set pathname (contains directory part) to
108         the LzHeader.name field on level 0 header archive even if the
109         archive methods is -lhd-.
110
111 2002-07-09  Koji Arai  <jca02266@nifty.ne.jp>
112
113         * src/lha.h, src/header.c: the CoreFoundation header inclusion
114         moved to header.c.
115
116         * src/lha.h, src/lharc.c, IFNAMES: macro NODIRECTORY was removed.
117
118         * src/lha.h, src/lhadd.c, src/lharc.c, src/lhext.c: fixed
119         misspelling, not `writting' but `writing'.
120
121 2002-07-07  Koji Arai  <jca02266@nifty.ne.jp>
122
123         * src/lha.h, src/lha_macro.h: refined.
124
125         * src/lhadd.c (append_it): macro STRING_COMPARE() was discarded.
126
127         * src/lha_macro.h: ditto.
128
129         * IFNAMES: NOVOID was removed.
130
131         * src/lharc.c (main): terminate with exit status 2 when specified
132         command line switche is wrong,
133
134         * configure.ac, config.h.in: added checking utime.h existent.
135
136         * src/crcio.c (putc_euc): void returned.
137
138         * src/header.c, src/lha.h, src/lha_macro.h, src/lhadd.c: refined.
139
140         * src/lharc.c, src/prototypes.h, src/slide.c: refined.
141
142         * configure.ac: should specify the 4th argument to AC_TRY_RUN()
143         for cross compiling.
144
145         * configure.ac: fix a test expression.
146
147         * src/cproto.sh: added for maintainer.
148
149         * src/lha.h: support de-ANSI variable arguments.
150
151         * src/lharc.c: ditto.
152
153         * src/util.c: ditto.
154
155         * src/Makefile.am (lha_SOURCES): added prototypes.h.
156
157         * src/lha.h: function prototyps moved to prototypes.h.
158
159         * src/prototypes.h: generated by the cproto command.
160
161         * configure.ac: On Mac OS X, in spite of using the CoreFoundation
162         for utf-8 conversion, I have missed specifying the `-framework
163         CoreFoundation' in LDFLAGS.
164
165         * src/Makefile.am (EXTRA_DIST): no need to specify `lhdir.c'.
166
167 2002-07-06  Koji Arai  <jca02266@nifty.ne.jp>
168
169         * released.
170
171         * configure.ac: updated version.
172
173         * tests/lha-test10: added testing the header level 0, 1 and 2.
174
175         * tests/lha-test.in: ditto.
176
177         * src/lharc.c: `#include <stdarg.h>' moved to lha.h.
178
179         * src/lha.h: ditto.
180
181         * src/util.c: ditto.
182
183         * configure.ac: AC_REPLACE_FUNCS(vsnprintf).
184
185         * config.h.in: ditto.
186
187         * src/lha.h: ditto.
188
189         * src/vsnprintf.c: derived snprintf() which has the BSD licence.
190
191         * configure.ac: fix typo.
192
193         * configure.ac: checking whether strchr() is 8 bit clean or not.
194
195         * config.h.in: ditto.
196
197         * src/util.c: give functions strchr(), strrchr(), memchr() and
198         memrchr() which handle 8 bit characters correctly.
199
200         * src/header.c: use above if needed.
201
202         * src/lha_macro.h: deprecate the macro name `DELIM2' which is path
203         separattor for the filename in lha header.
204         use LHA_PATHSEP instead.
205
206         * src/util.c (convdelim): ditto.
207
208         * src/header.c (convert_filename): ditto.
209         (write_header): ditto.
210
211         * src/header.c (convert_filename): fixed bug on utf8 conversion,
212         provisionally.
213
214 2002-06-30  Koji Arai  <jca02266@nifty.ne.jp>
215
216         * configure.ac: fixed typo.
217
218         * src/header.c (sjis_to_utf8): fixed typo.
219         (utf8_to_sjis): fixed typo.
220
221         * src/lhadd.c (cmd_add): Missed to adjust the index when specified
222         adding file is same as the generating archive file.
223
224 2002-06-29  Koji Arai  <jca02266@nifty.ne.jp>
225
226         * src/header.c (convert_filename): rename a function
227         `filename_conv()' to `convert_filename()'.
228         (sjis_to_utf8_static): no use the static variable.
229         (utf8_to_sjis_static): ditto.
230
231         * src/lha.h: rename sjis_to_utf8_static() and utf8_to_sjis_static()
232         into sjis_to_utf8() and utf8_to_sjis().
233
234         * src/lha_macro.h: added a macro `CODE_UTF8'.
235
236         * configure.ac: decide CODE_UTF8.
237         updated version.
238
239         * 00readme.autoconf: modified.
240
241         * configure.ac: modified for Mac OS X.
242
243         * src/header.c, lha.h, lha_macro.h, lharc.c: Merged a patch for
244         the Mac OS X, convert utf-8 filename to shift_jis. This patch was
245         contributed on LHa BBS. Thanks to Hiroto Sakai.
246
247         * src/lhext.c: replaced bcmp() with memcmp().
248
249         * src/lha_macro.h: ditto.
250
251         * src/append.c: replace bcopy() with memcpy() or memmove().
252
253         * src/lha_macro.h: ditto.
254
255         * src/lhadd.c: ditto.
256
257         * src/lharc.c: ditto.
258
259         * src/header.c: ditto.
260         replace bzero() with memset().
261
262         * src/lhadd.c (cmd_add): exlclude the target archive. (reported on
263         the LHa BBS [28])
264
265         * src/slide.c (encode_alloc): Wrong value was assigned to the
266         `dicbit', when SUPPORT_LH7 was not defined. (fixed by DANGAN,
267         reported on the LHa BBS [38]).
268
269         * src/lha_macro.h: ditto.
270
271         * src/shuf.c (decode_c_st0): the method of -lh3- extraction was
272         fixed by DANGAN (reported on the LHa BBS [35]).
273
274         * src/lha_macro.h (LH3_DICBIT): ditto.
275
276         * src/dhuf.c (encode_c_dyn): the method of -lh1- compression was
277         refined by DANGAN (reported on the LHa BBS [30], [39], [62]).
278
279 2002-06-26  Koji Arai  <jca02266@nifty.ne.jp>
280
281         * tests/lha-test4: Skip a test for the LHa for UNIX (original version).
282
283         * tests/lha-test3: Rewrite tests for generic format archives.
284
285         * tests/lha-test2: Added tests for -lh0- method.
286         Moved from contents of lha-test3 (tests for print archive).
287
288 2002-06-23  Koji Arai  <jca02266@nifty.ne.jp>
289
290         * tests/lha-test.in: On Cygwin/MinGW, cannot test lha-test9.
291
292         * src/lhext.c: Fixed a misspelling. not `Symblic' but `Symbolic'.
293           reported on LHa BBS (see <http://www2m.biglobe.ne.jp/~dolphin/>).
294
295         * src/lharc.c: ditto.
296
297         * src/slide.c (interface;): Fixed wrong index.
298           reported on LHa BBS (see <http://www2m.biglobe.ne.jp/~dolphin/>).
299
300         * 00readme.autoconf: refined.
301
302         * tests/lha-test9: added tests for overriding files.
303
304         * tests/lha-test.in: added test9.
305
306         * src/lhext.c (cmd_extract): ftell(stdin) will return -1, so
307         re-fixed provisionaly.
308
309         * src/lhext.c (cmd_extract): When error occurred in extract_one(),
310         should adjust point of file stream.
311
312         * configure.ac: library checkings (for libmingwex) should be done
313         before header checkings.
314
315 2002-06-22  Koji Arai  <jca02266@nifty.ne.jp>
316
317         * released:
318
319         * configure.ac: updated version.
320
321         * src/lharc.c (init_variable): Removed useless assignments.
322
323         * src/lharc.c (main): Behavior was changed. when `q' or `q2' option
324         (not `q1') is specified, the `f' option is enabled implicitly.
325         In original behavior, the option `q', `q0', `q1' and `q2' will
326         enable `f' option implicitly (bug?).
327
328         * src/lharc.c (main): [BUG]: When `q2' option is specified,
329         level 2 header is generated.
330
331 2002-06-21  Koji Arai  <jca02266@nifty.ne.jp>
332
333         * tests/Makefile.am: Use the `DISTCLEANFILES' variable instead of the `dist-hook' target.
334
335         * tests/Makefile.am: Added `dist-hook' target for `make distcheck'.
336
337         * tests/lha-test.in: All tests are splited into some files.
338
339         * tests/Makefile.am: ditto.
340
341         * tests/lha-test2: ditto.
342
343         * tests/lha-test3: ditto.
344
345         * tests/lha-test4: ditto.
346
347         * tests/lha-test5: ditto.
348
349         * tests/lha-test6: ditto.
350
351         * tests/lha-test7: ditto.
352
353         * tests/lha-test8: ditto.
354
355 2002-06-20  Koji Arai  <jca02266@nifty.ne.jp>
356
357         * src/lhadd.c (cmd_add): No create an intermediate file when archive
358         is written in stdout.
359
360 2002-06-19  Koji Arai  <jca02266@nifty.ne.jp>
361
362         * 00readme.autoconf: Modified.
363
364 2002-06-18  Koji Arai  <jca02266@nifty.ne.jp>
365
366         * configure.in: Removed. (no support the Autoconf version 2.13).
367
368         * config.h.in: Changed meaning of the value of the `MULTIBYTE_FILENAME'.
369
370         * src/header.c: Remove preprocess codes for kanji code decision.
371
372         * configure.ac: When --enable-multibyte-filename[=auto] is specified,
373         decide kanji code for filename automatically.
374         Otherwise, euc or sjis is specified, it is EUC-JP or Shift_JIS.
375
376 2002-06-17  Koji Arai  <jca02266@nifty.ne.jp>
377
378         * configure.in, configure.ac: updated version.
379
380         * configure.in, configure.ac: On mingw-runtime-2.0-1, opendir()
381         has moved to libmingwex.a. For now, not listed in the
382         /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs file.
383
384         * src/lharc.c (message): use variable argument list with stdarg.
385         (warning): ditto.
386         (error): ditto.
387         (write_error): removed.
388         (read_error): removed.
389         (build_temporary_name): use xsnprintf().
390         (open_old_archive): ditto.
391         (expanded_archive_name): move in the function (open_old_archive()) as static.
392
393         * src/crcio.c (putcode): changed for fatal_error().
394         (putbits): changed for fatal_error().
395         (fwrite_crc): ditto.
396         (putc_euc): should return EOF when putc() cause error.
397         (fwrite_txt): changed for putc_euc().
398
399         * src/header.c (get_header): changed for fatal_error(), warning() and error().
400         (init_header): use xsnprintf().
401         (write_header): fixed wrong usage of fwrite().
402
403         * src/lha.h: updated declarations.
404
405         * src/lhadd.c (append_it): changed for error().
406
407         * src/lhext.c (inquire_extract): ditto.
408
409         * src/lhlist.c (cmd_list): ditto.
410
411         * src/maketbl.c (make_table): ditto.
412
413         * src/util.c (copyfile): changed for fatal_error().
414         (xsnprintf): newly added to adopt to various snprintf().
415
416 2002-06-12  Koji Arai  <jca02266@nifty.ne.jp>
417
418         * src/lha_macro.h (UNIX_STICKYBIT): fixed a misspelling.
419
420         * src/lhlist.c (list_one): ditto.
421
422 2002-06-11  Koji Arai  <jca02266@nifty.ne.jp>
423
424         * src/lharc.c: index was wrong.
425           reported on LHa BBS (see <http://www2m.biglobe.ne.jp/~dolphin/>).
426
427 2002-06-06  Koji Arai  <jca02266@nifty.ne.jp>
428
429         * configure.ac, configure.in: changed macro name.
430         not multibyte-char but multibyte-filename.
431         not MULTIBYTE_CHAR but MULTIBYTE_FILENAME.
432
433         * 00readme.autoconf: ditto.
434
435         * config.h.in: ditto.
436
437         * src/util.c: ditto.
438
439         * src/lha_macro.h: ditto.
440
441         * src/header.c: ditto.
442
443         * config.h.in (INCLUDE_OWNER_NAME_IN_HEADER): changed macro name.
444
445         * configure.ac: ditto.
446
447         * src/header.c (init_header): ditto.
448
449         * src/header.c (init_header): should clear LzHeader.
450
451 2002-06-05  Koji Arai  <jca02266@nifty.ne.jp>
452
453         * released.
454
455         * configure.ac (AC_INIT): changed package name and specified tar name.
456
457         * src/lharc.c: added `--help' command line switch.
458
459         * Makefile.am: fixed EXTRA_DIST for 00readme.autoconf renaming.
460
461         * README.autoconf, 00readme.autoconf: renamed.
462
463         * configure.ac, configure.in: updated version.
464
465 2002-06-04  Koji Arai  <jca02266@nifty.ne.jp>
466
467         * README.autoconf, header.doc.euc: describe about user/group name
468         header.
469
470         * src/header.c (init_header): added a macro MAKE_USER_NAME_HEADER.
471
472         * configure.ac, configure.in, config.h.in: added a switch
473         `--enable-user-name-header' whether user/name extended header is
474         made.
475
476 2002-06-01  Koji Arai  <jca02266@nifty.ne.jp>
477
478         * README.autoconf: `-i' switch of automake is deprecated.
479
480 2002-05-29  Koji Arai  <jca02266@nifty.ne.jp>
481
482         * configure.in, configure.ac, config.h.in: checks having uid_t/gid_t.
483
484         * src/lha.h: define uid_t/gid_t as `int' if no have it.
485
486         * src/lhext.c (adjust_info): mismatched braces.
487
488         * header.doc.euc: around user/group name extention.
489
490         * configure.in, configure.ac, config.h.in: checks having
491         getpwuid/getgrgid and so on.
492
493         * src/header.c (get_header): use the extend header, user/group name.
494         (init_header): ditto.
495
496         * src/lha.h: added <pwd.h>, <grp.h> header includings.
497
498         * src/lhext.c (adjust_info): change owner/group according to
499         user/group name when extracting.
500
501         * src/lhlist.c (list_one): print user/group name when the header
502         has them.
503         (list_one): correct column position on OS68K.
504
505         * tests/lha-test.in: added timestamp checks.
506
507         * src/lha_macro.h: comment about OS code.
508
509 2002-05-28  Koji Arai  <jca02266@nifty.ne.jp>
510
511         * src/lharc.c (xstrdup): no need to call fatal_error().
512
513         * src/lhdir.h, src/lha_macro.h, src/lha.h: added modeline for vi(m).
514
515         * configure.ac, config.h.in: use new autoconf macro, AC_CHECK_MEMBERS().
516
517         * IFNAMES, configure.in, src/header.c, src/lharc.c: replaced with
518         new macro name to adopt to the AC_CHECK_MEMBERS().
519
520 2002-05-27  Koji Arai  <jca02266@nifty.ne.jp>
521
522         * tests/lha-test.in: use awk instead of GNU sh-utils's `seq'.
523
524         * src/header.c (filename_conv): fix a bug, reverse condition and
525         conversion for filename case.
526
527         * README.autoconf: added description about `get_filename_from_stdin' feature.
528
529         * tests/lha-test.in: remove test around the `get_filename_from_stdin'.
530
531         * src/lharc.c (main): never set `get_filename_from_stdin` to true.
532         `echo foo | lha x foo.lzh' does not work like original LHa for UNIX.
533
534         * tests/lha-test.in: replace with #!/bin/bash.
535
536         * README.autoconf: added E-Mail address.
537
538         * configure.ac: updated version and added mail address for bug reports.
539
540         * configure.in: updated version.
541
542         * released.
543
544         * README.autoconf: added `make check' on sample description.
545
546         * configure.in, configure.ac: update version.
547
548 2002-05-26  Koji Arai  <jca02266@nifty.ne.jp>
549
550         * tests/lha-test.in: added some tests.
551
552         * tests/Makefile.am: refined.
553
554         * src/lhext.c (cmd_extract): discard useless fseek() calling (for MinGW).
555
556         * tests/lha-test.in: added some tests.
557
558         * tests/lha-test.in: specified `q' option on print archive test.
559
560         * src/lhadd.c (build_backup_file): On MinGW, cannot rename when
561         a new file already exists.
562
563         * src/lhext.c (extract_one): On MinGW, set binary on stdout when
564         print archive (`p' switch).
565
566         * tests/lha-test.in: added some tests.
567
568         * src/lhadd.c (report_archive_name_if_different): warning messages
569         should be printed to stderr rather than stdout.
570         (cmd_delete): ditto.
571
572         * tests/Makefile.am: fix EXTRA_DIST.
573
574         * configure.in, configure.ac: update version.
575
576         * tests/lha-test.in: added tests.
577
578         * tests/Makefile.am: ditto.
579
580         * configure.in, configure.ac, Makefile.am: ditto.
581
582 2002-05-25  Koji Arai  <jca02266@nifty.ne.jp>
583
584         * IFNAMES: updated.
585
586         * released.
587
588         * README.autoconf: added description for developpers.
589
590         * configure.in, configure.ac, config.h.in: refined.
591
592         * src/util.c (memmove): use HAVE_MEMMOVE.
593         (mkdir): use HAVE_WORKING_FORK.
594
595         * src/huf.c: use HAVE_SYS_PARAM_H instead of sony_news.
596
597         * IFNAMES (sony_news): updated.
598
599         * configure.ac, configure.in (AC_INIT): added autoconfiscated date.
600         see `lha --version'.
601
602 2002-05-22  Koji Arai  <jca02266@nifty.ne.jp>
603
604         * 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:
605         added modeline for vi(m).
606
607         * src/lharc.c: backslash was missing.
608
609 2002-05-20  Koji Arai  <jca02266@nifty.ne.jp>
610
611         * src/lharc.c (open_old_archive):  On MinGW, set binary stdin.
612
613         * src/lhadd.c (temporary_to_new_archive_file): On MinGW, set binary stdout.
614
615         * src/lha_macro.h: no define TMP_FILENAME_TEMPLATE in source.
616
617         * configure.ac, configure.in, README.autoconf: be able to specify
618         --with-tmp-file=no which meaning TMP_FILENAME_TEMPLATE is undefined.
619
620         * src/lha.h: correct usage of mkstemp().
621         On MinGW, opening file cannot be removed.
622
623         * src/lhadd.c (build_temporary_file): ditto.
624
625         * src/lharc.c (fatal_error): ditto.
626
627 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
628
629         * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
630         no use AM_C_PROTOTYPES for the present.
631
632         * config.h.in: ditto.
633
634         * src/lharc.c (print_tiny_usage_and_exit): change credit.
635
636         * src/lha_macro.h: put PLATFORM in a macro LHA_VERSION.
637
638         * src/lharc.c (print_version): ditto.
639
640         * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
641
642 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
643
644         * released.
645
646         * src/lharc.c (print_tiny_usage_and_exit): added credit.
647         (print_version): print PLATFORM.
648
649         * configure.ac, configure.in, config.h.in: define PLATFORM.
650
651         * src/lharc.c (xstrdup): fix typo.
652
653         * configure.ac: added for autoconf-2.53.
654
655         * config.h.in: regenerate by autoconf-2.53.
656
657         * src/lharc.c (find_files): MinGW has st_ino but always 0.
658
659         * src/lharc.c (main): provisionally fix. set
660         `get_filename_from_stdin' to false.
661
662         * src/util.c (rename): use builtin rename(2) on mingw32 (since have
663         no link(2)).
664
665         * src/lharc.c (main): use xrealloc().
666
667         * src/lha_macro.h: specify "b" modifier always (for mingw32).
668
669         * src/lharc.c: use xstrdup() instead of strdup().
670
671         * src/lha_macro.h: ditto.
672
673         * src/lha_macro.h: getuid(), chown(), kill() are provisionally
674         defined as 0.
675
676         * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
677
678         * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
679         (build_backup_file): ditto.
680
681         * src/lharc.c (interrupt): ditto.
682
683         * src/lhext.c (extract_one): ditto.
684
685         * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
686         mingw32.
687
688 2002-05-18  Koji Arai  <jca02266@nifty.ne.jp>
689
690         * lha_macro.h: define bcmp(), bzero(), bcopy() even if
691         STDC_HEADERS is defined.
692
693         * huf.c (alloc_buf): call fatal_error() when memory allocation failed
694         instead of returning NULL.
695
696         * lharc.c (main): use xmalloc().
697
698         * util.c (copyfile): use xmalloc().
699
700         * slide.c (encode_alloc): use xmalloc().
701
702         * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as
703         default kanji code.
704
705 2001-02-03  Koji Arai  <jca02266@nifty.ne.jp>
706
707         * README.autoconf, src/header.c: treat archive and system kanji
708         code, correctly.
709
710 2001-01-31  Koji Arai  <jca02266@nifty.ne.jp>
711
712         * configure.in: mistakes for default archive method.
713
714         * src/header.c: directory separator 0xff must be transpose slash
715         at first.
716
717 2001-01-29  Koji Arai  <jca02266@nifty.ne.jp>
718
719         * src/lharc.c: replace MKSTEMP with HAVE_MKSTEMP.
720         substitute DEFAULT_LZHUFF_METHOD for the `compress_method' variable (it's default value).
721
722         * src/lha_macro.h: use the VERSION macro (defined by configure) for
723         the LHA_VERSION definition.
724
725         * src/header.c: added condition whether the macro MULTIBYTE_CHAR
726         is defined or not.
727
728         * src/Makefile.am: added $(SUPPORT_LZHUFF_METHOD) in AM_CPPFLAGS.
729
730         * configure.in: change version number from 1.14f to 1.14i.
731         check function mkstemp().
732         replace --enable-lh6 option to --with-default-method=[567].
733
734         * config.h.in: added definitions of HAVE_MKSTEMP and
735         DEFAULT_LZHUFF_METHOD.
736
737         * IFNAMES: added a description about MKSTEMP.
738
739         * Makefile.am: added extra files.
740
741         * 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:
742         merged changing from lha-1.14f to lha-1.14i.
743
744         * change-114i.txt, src/header.c, src/huf.c, src/lha.h, src/lharc.c:
745         import lha-114i
746
747         * src/huf.c, src/lharc.c, src/shuf.c, src/slide.c: import lha-114h
748
749         * Makefile, README.euc, change-114g.txt, change-114h.txt:
750         import lha-114h
751
752         * 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:
753         import lha-114g
754
755         * 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:
756         import lha-114g
757
758         * src/header.c, src/lha_macro.h: implemented kanji code conversion
759         on filename.
760
761         * src/header.c: fix bug in euc2sjis().
762
763 1999-10-05  Koji Arai  <jca02266@nifty.ne.jp>
764
765         * src/header.c: rename the macro HANKAKU_KATAKANA_P to the X0201_KANA_P
766
767 1999-09-30  Koji Arai  <jca02266@nifty.ne.jp>
768
769         * 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:
770         use the autoconf/automake
771
772 1999-08-28  Koji Arai  <jca02266@nifty.ne.jp>
773
774         * Makefile: import the lha-114f
775
776         * change-114f.txt, config.jpn.euc, header.doc.euc: import the lha-114f
777
778         * CHANGES.euc, MACHINES.euc, PROBLEMS.euc, README.euc, change-114e.txt, config.eng:
779         import the lha-114f
780
781         * MACHINES2.euc, man/Makefile, man/lha.man, man/lha.n:
782         import the lha-114f
783
784         * src/append.c, src/crcio.c: import the lha-114f
785
786         * 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:
787         import the lha-114f
788
789         * src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c:
790         import the lha-114f