OSDN Git Service

dd625bfa04809c62e17fcdd0d56e647596976a74
[lha/lha.git] / ChangeLog
1 2008-02-21  Koji Arai  <arai@users.sourceforge.jp>
2
3         * src/header.c (canon_path): should remove duplicated slash.
4         (the function name is renamed from remove_dots().)
5
6         * tests/lha-test17: added a test for above.
7
8 2008-02-17  Koji Arai  <arai@users.sourceforge.jp>
9
10         * src/lhext.c (extract_one) could not extract files under readonly directories, like:
11
12             dr-xr-xr-x 2 arai arai 4096 Jan  5 03:30 foo/
13             -rw-r--r-- 1 arai arai    0 Jan  5 03:30 foo/bar
14
15         * tests/Makefile.am: added a test for above.
16
17         * tests/lha-test.in: ditto.
18
19         * tests/lha-test18: ditto.
20
21 2008-02-05  Koji Arai  <arai@users.sourceforge.jp>
22
23         * config.h. configure.ac: added a configure option
24         --with-additional-suffixes for SuSE Linux.
25
26         * src/lharc.c (open_old_archive): make it possible to add archive
27         suffixes.
28
29         * src/lharc.c (print_version): show the configure option by the
30         --version option.
31
32 2007-09-09  Koji Arai  <arai@users.sourceforge.jp>
33
34         * src/header.c: `put_longword()' should be used the ANSI-C declaration.
35
36         Created archives was broken on Big-endian machine (and 64-bits machine).
37
38 2007-09-08  Koji Arai  <arai@users.sourceforge.jp>
39
40         * Added tests for extract large files.
41
42         Added two tests for extract files over 2G and 4G bytes.
43         These are not performed in default, because it will be take a long time.
44
45 2007-09-08  Koji Arai  <arai@users.sourceforge.jp>
46
47         * Fix a bug: Could not extract 2G over files.
48
49 2007-09-05  Koji Arai  <arai@users.sourceforge.jp>
50
51         * 00readme.autoconf: Added description for the -b switch which extract MacBinaries.
52
53 2007-09-04  Koji Arai  <arai@users.sourceforge.jp>
54
55         * use the length modifier `ll' (%llu) for printing 64bit value.
56
57 2007-09-04  Koji Arai  <arai@users.sourceforge.jp>
58
59         * update prototypes.h using cproto
60
61 2007-09-03  Koji Arai  <arai@users.sourceforge.jp>
62
63         * src/append.c, src/extract.c, src/header.c, src/indicator.c, src/lha.h, src/lhadd.c, src/lhext.c, src/lhlist.c, src/prototypes.h, src/slide.c, src/util.c: 
64         Possible to extract files over 4G, use UNLHA32.DLL specific extended header.
65
66 2007-05-23  Koji Arai  <arai@users.sourceforge.jp>
67
68         * tests/lha-test.in: added an optional numeric command-line
69         argument, and a command-line switch -n.
70         when the numeric argument is specified, only the testsuite is
71         performed.  and the -n switch is specified, it is not made cleanup
72         trash files which is result of the test.
73
74         * tests/lha-test11: On MS-Windows, should consider the length of
75         current path.
76
77         * tests/lha-test11: On MS-Windows, if current directory is too
78         deep, skip this test.
79
80 2007-05-23  Koji Arai  <arai@users.sourceforge.jp>
81
82         * config.h.in, configure.ac, src/lharc.c: the option -X was deprecated.
83         In place of it, added a long option --ignore-mac-files which
84         ignore Mac specific files ._*, .DS_Store and Icon\r when the
85         archive is created. Thanks to Hiroto Sakai.
86
87 2007-05-20  Koji Arai  <arai@users.sourceforge.jp>
88
89         * repository changed to the Subversion.
90
91         * tests/lha-test12: should not use the raw CR code.
92           (when checkout from SVN repos, raw CR code is removed.)
93
94 2007-02-24  Koji Arai  <arai@users.sourceforge.jp>
95
96         * src/lharc.c (print_tiny_usage, parse_suboption): added a long
97         option "--traditional". it is just the same
98         "--convert-filename-case" for the present.
99
100         * src/header.c (get_header): the variable "noconvertcase" changed
101         to "convertcase".
102         it means that this LHa does not convert filename case automatically.
103
104         * src/lha.h: ditto.
105
106         * src/lharc.c (init_variable): ditto.
107
108         * src/lharc.c (print_tiny_usage, parse_suboption): added a long
109         option "--convert-filename-case" that change to the old behavior.
110
111         * src/lharc.c (print_usage, parse_suboption): the "g" option has
112         no meaning when extracting.
113
114         * src/header.c (write_header): no upcase filename when the generic
115         archive creating.
116
117 2007-02-24  Koji Arai  <arai@users.sourceforge.jp>
118
119         * configure.ac: updated version.
120
121         * src/lharc.c (print_usage): updated.
122
123 2007-02-24  Koji Arai  <arai@users.sourceforge.jp>
124
125         * src/header.c (copy_path_element, remove_dots, init_header):
126         should treat "foo" and "./foo" as same file, so remove "./" from
127         archived path name.
128
129         * tests/Makefile.am, tests/lha-test.in, tests/lha-test17:
130         added tests for the removing relative path.
131
132 2006-10-09  Koji Arai  <arai@users.sourceforge.jp>
133
134         * src/lha_macro.h (MIN): newly added a macro for below.
135
136         * maketbl.c (make_table): applied the security patch for the
137         CVE-2006-4335 and CVE-2006-4337.
138
139         * huf.c (read_pt_len, read_c_len, decode_c_st1, decode_p_st1):
140         applied the security patch for the CVE-2006-4338.
141
142 2006-10-09  Koji Arai  <arai@users.sourceforge.jp>
143
144         * tests/lha-test.in: the function local variable `$status' is treated as
145         the builtin variable on the Zsh version 4.3.2, so it was renamed to
146         $exit_status.
147
148         * tests/Makefile.am, tests/lha-test.in, tests/lha-test16, tests/lha-test16-l0.lzh, tests/lha-test16-l1.lzh, tests/lha-test16-l2.lzh, tests/lha-test16-lg.lzh:
149         added tests for the header CRC.
150
151 2006-10-08  Koji Arai  <arai@users.sourceforge.jp>
152
153         * 00readme.autoconf: updated.
154
155         * Hacking_of_LHa: changed mail address.
156
157 2006-10-08  Koji Arai  <arai@users.sourceforge.jp>
158
159         * configure.ac: updated version.
160
161         * configure.ac, src/header.c, src/lha_macro.h, src/lhadd.c, src/lhext.c, src/lhlist.c, tests/lha-test12:
162         re-applied the correct DJGPP patch. Thanks to Doug Kaufman.
163
164 2006-10-02  Koji Arai  <arai@users.sourceforge.jp>
165
166         * configure.ac: updated version.
167
168         * src/header.c, src/lha.h, src/lha_macro.h, src/lhadd.c, src/lharc.c, src/lhext.c, src/lhlist.c, src/vsnprintf.c, tests/lha-test.in, tests/lha-test11, tests/lha-test12:
169         applied the patch for the DJGPP. Thanks to Doug Kaufman.
170
171         * 00readme.autoconf, configure.ac: changed mail address.
172
173 2006-09-11  Koji Arai  <jca02266@nifty.com>
174
175         * configure.ac: updated version.
176
177         * src/lharc.c (print_usage): updated.
178
179 2006-09-11  Koji Arai  <jca02266@nifty.com>
180
181         * config.h.in (HAVE_LIBAPPLEFILE): added `b' option which extract
182         the MacBinary. Thanks to Hiroto Sakai.
183
184         * configure.ac: ditto.
185
186         * src/lha.h (decode_macbinary_contents): ditto.
187
188         * src/lhadd.c (build_temporary_file): ditto.
189
190         * src/lharc.c (decode_macbinary_contents, print_tiny_usage, parse_suboption): ditto.
191
192         * src/lhext.c (extract_one, decode_macbinary): ditto.
193
194         * src/prototypes.h (build_temporary_file): ditto.
195
196 2006-09-11  Koji Arai  <jca02266@nifty.com>
197
198         * src/lharc.c (parse_suboption): `-X' option has been ineffective.
199         Thanks to Hiroto Sakai.
200
201 2005-10-15  Koji Arai  <jca02266@nifty.com>
202
203         * src/lha_macro.h (UPDATE_CRC): To casting with (unsigned char)
204         should not be for the variable (c) but for the (crc). Thanks to
205         OKUMURA N. Shin-ya.
206
207 2005-10-13  Koji Arai  <jca02266@nifty.com>
208
209         * tests/lha-test.in: emulate POSIX shell when it is executed by
210         zsh or bash. (this part is derived from GNU Autoconf 2.59)
211
212         * tests/Makefile.am: replaced `bash' with `@sh_for_lha_test@'
213
214         * configure.ac: search shell programs to execute the lha-test.
215
216 2005-09-25  Koji Arai  <jca02266@nifty.com>
217
218         * src/prototypes.h: updated.
219
220         * src/crcio.c (calccrc, fread_crc, fwrite_crc, fread_txt, fwrite_txt): suppress compiler warnings on gcc-4.0.
221
222         * src/header.c (calc_sum): ditto.
223
224         * src/lha_macro.h (UPDATE_CRC): ditto.
225
226 2005-09-24  Koji Arai  <jca02266@nifty.com>
227
228         * released.
229
230         * configure.ac: updated version and my mail address.
231
232         * Hacking_of_LHa: updated. (2003-02-23 edition)
233
234         * 00readme.autoconf: updated.
235
236 2005-06-08  Koji Arai  <jca02266@nifty.ne.jp>
237
238         * configure.ac: updated version.
239
240         * src/lharc.c (parse_suboption): fixed a bug, when the
241         --system-kanji-code option specified, the --archive-kanji-code
242         option was infected.
243
244 2005-05-08  Koji Arai  <jca02266@nifty.ne.jp>
245
246         * configure.ac: updated version.
247
248         * src/lharc.c (print_usage): updated.
249
250         * src/lhadd.c, src/header.c (remove_leading_dots): move to
251         header.c for readlink().
252
253         * src/lhadd.c (add_one): symbolic link indication was contrary.
254         ( not "realname -> linkname" but "linkname -> realname" )
255         (delete): ditto.
256
257         * src/lhext.c (extract_one): ditto.
258
259         * src/lhlist.c (list_one): ditto.
260
261         * tests/lha-test14: ditto.
262
263         * src/lhadd.c (remove_leading_dots): newly added.
264
265         * src/lhadd.c (append_it): remove leading relative path from
266         archive.
267
268         * src/lhext.c (is_directory_traversal): should return true when
269         just ".." was found.
270
271 2004-10-02  Koji Arai  <jca02266@nifty.ne.jp>
272
273         * src/lharc.c (print_tiny_usage): added long option helps.
274
275         * src/prototypes.h: updated.
276
277         * src/lharc.c: should accept a single option --help and --version.
278
279 2004-09-29  Koji Arai  <jca02266@nifty.ne.jp>
280
281         * src/lharc.c (parse_option, parse_suboption): use getopt_long().
282
283         * src/Makefile.am: added getopt_long.c and getopt_long.h.
284
285         * src/getopt_long.c, src/getopt_long.h: newly added.
286
287 2004-09-29  Koji Arai  <jca02266@nifty.ne.jp>
288
289         * released.
290
291         * 00readme.autoconf: note for builds on MS-Windows.
292
293         * configure.ac: updated version.
294
295         * Makefile.am: added Hacking_of_LHa in EXTRA_DIST.
296
297         * Hacking_of_LHa: renamed (typo).
298
299 2004-09-27  Koji Arai  <jca02266@nifty.ne.jp>
300
301         * configure.ac: updated version.
302
303         * src/prototypes.h (str_safe_copy): newly added.
304         (build_standard_archive_name, build_backup_file):
305         added argument the size for build_standard_archive_name() and
306         build_backup_file().
307
308         * src/header.c (init_header): use str_safe_copy() instead of strcpy().
309
310         * src/lhadd.c (build_backup_file, cmd_add, cmd_delete):
311         added argument the size for build_standard_archive_name() and
312         build_backup_file().
313
314         * src/lhext.c (make_parent_path): use str_safe_copy() instead of strcpy().
315         (extract_one): ditto.
316
317         * src/lharc.c (find_files): use str_safe_copy() instead of strcpy().
318         (build_temporary_name): ditto.
319         (modify_filename_extention): ditto.
320         (build_backup_name): ditto.
321         (build_standard_archive_name): ditto.
322
323         * src/util.c (str_safe_copy): newly added.
324
325 2004-09-26  Koji Arai  <jca02266@nifty.ne.jp>
326
327         * src/header.c: fixed typo.
328
329 2004-09-18  Koji Arai  <jca02266@nifty.ne.jp>
330
331         * configure.ac: updated version.
332
333         * 00readme.autoconf: added a description about
334         `--extract-broken-archive' option.
335
336         * src/lharc.c (init_variable, parse_option): added an option
337         `--extract-broken-archive' to extract broken archive.
338
339         * src/lha.h (extract_broken_archive): ditto.
340
341         * src/slide.c (encode, decode): fixed a *FATAL* bug which make a
342         broken archive.
343
344 2004-05-08  Koji Arai  <jca02266@nifty.ne.jp>
345
346         * configure.ac: updated version.
347
348         * src/prototypes.h: updated.
349
350         * src/lhext.c (extract_one, is_directory_traversal): applied a
351         security patch (CAN-2004-0235: directory traversal problems)
352
353         * src/lharc.c (print_usage): updated.
354
355 2003-12-18  Koji Arai  <jca02266@nifty.ne.jp>
356
357         * src/header.c (wintime_to_unix_stamp): no use 64bit constant to
358         avoid the warning `integer constant is too large for "long" type'
359         on GCC. however, for portability, no use the unsigned long long
360         suffix "ULL".
361
362 2003-12-13  Koji Arai  <jca02266@nifty.ne.jp>
363
364         * configure.ac: updated version.
365
366         * src/lhext.c (extract_one, cmd_extract): preserve directory
367         timestamp. Thanks Akihiro Iriyama.
368
369         * src/lhext.c (add_dirinfo, adjust_dirinfo): newly added.
370
371 2003-09-28  Koji Arai  <jca02266@nifty.ne.jp>
372
373         * Makefile.am (SUBDIRS): reordered to avoid useless re-compilation.
374
375 2003-09-21  Koji Arai  <jca02266@nifty.ne.jp>
376
377         * released.
378
379         * configure.ac: updated version.
380
381 2003-08-18  Koji Arai  <jca02266@nifty.ne.jp>
382
383         * 00readme.autoconf: fixed.
384
385         * configure.ac: use AC_SYS_LARGEFILE for largefile support.
386
387         * config.h.in: ditto.
388
389         * src/prototypes.h: updated.
390
391 2003-07-29  Koji Arai  <jca02266@nifty.ne.jp>
392
393         * tests/Makefile.am (EXTRA_DIST): lha-test1 was missed.
394
395         * tests/lha-test13: should set LANG=C for `tr'.
396
397 2003-07-28  Koji Arai  <jca02266@nifty.ne.jp>
398
399         * tests/lha-test.in: filename should be contained in last error
400         information.
401
402 2003-07-27  Koji Arai  <jca02266@nifty.ne.jp>
403
404         * tests/lha-test2: no need to set $FILENAME.
405         * tests/lha-test3: ditto.
406         * tests/lha-test4: ditto.
407         * tests/lha-test5: ditto.
408         * tests/lha-test6: ditto.
409         * tests/lha-test7: ditto.
410         * tests/lha-test8: ditto.
411         * tests/lha-test9: ditto.
412         * tests/lha-test10: ditto.
413         * tests/lha-test11: ditto.
414         * tests/lha-test12: ditto.
415         * tests/lha-test13: ditto.
416         * tests/lha-test14: ditto.
417         * tests/lha-test15: ditto.
418
419         * tests/lha-test1: newly added.
420
421         * tests/lha-test.in: improved.
422
423         * src/prototypes.h: updated.
424
425         * src/lha.h (exit): defined as lha_exit().
426
427         * src/lharc.c (init_variable): discard a variable
428         `remove_temporary_at_error'.
429         (fatal_error): ditto.
430         (cleanup): newly added.
431         (interrupt): call cleanup().
432         (lha_exit): newly added; cleanup temporary files always.
433
434         * src/lhadd.c (add_one): discard a variable
435         `remove_temporary_at_error'.
436
437         * src/indicator.c (start_indicator): refined.
438
439         * src/lharc.c (parse_option): fixed typo.
440
441         * src/indicator.c (carriage_return): newly added; print CR on tty only.
442         (start_indicator): call above.
443         (finish_indicator): ditto.
444         (finish_indicator2): ditto.
445
446         * src/lharc.c (print_usage): newly added.
447         (parse_option): strictly checking command line arguments.
448         (main): ditto.
449
450 2003-07-26  Koji Arai  <jca02266@nifty.ne.jp>
451
452         * tests/lha-test13: use `tr' instead of `printf` for printing 8 bit
453         characters.
454
455 2003-07-25  Koji Arai  <jca02266@nifty.ne.jp>
456
457         * tests/lha-test14: `test -e' is unavailable on some systems.
458
459 2003-07-22  Koji Arai  <jca02266@nifty.ne.jp>
460
461         * tests/lha-test.in: should exit with status in trap.
462
463         * src/shuf.c (decode_start_st0): wrong value was assigned.
464
465         * src/lha.h: discard `prof' variable.
466
467         * src/lharc.c (init_variable): discard `prof' variable.
468         (parse_option): discard undocumented `p' option.
469         (main): ditto.
470
471         * src/append.c (encode_lzhuf): hate global variable.
472
473         * src/extract.c (decode_lzhuf): ditto.
474
475         * src/lha.h: ditto.
476
477 2003-07-21  Koji Arai  <jca02266@nifty.ne.jp>
478
479         * configure.ac: updated version.
480
481         * 00readme.autoconf: described largefiles.
482
483         * src/header.c (get_header): avoid valgrind warning, `Source and
484         destination overlap in strncpy()'.
485
486         * src/lharc.c (find_files): refined.
487
488         * tests/lha-test.in: should exit in trap.
489
490         * src/lharc.c (find_files): uninitialized variable was caught by
491         Valgrind.
492
493         * src/prototypes.h: updated.
494
495         * src/append.c (encode_lzhuf): set actual copied size.
496
497         * src/util.c (encode_stored_crc): use size_t instead of long.
498
499         * src/lhadd.c (temporary_to_new_archive_file): ditto.
500         (cmd_add): ditto.
501         (cmd_delete): ditto.
502
503         * src/lhadd.c (add_one): fixed a comment.
504
505         * src/indicator.c (MAX_INDICATOR_COUNT): changed to fit for the 80
506         column screen.
507
508         * src/extract.c (decode_lzhuf): refined.
509
510         * src/prototypes.h: updated.
511
512         * src/cproto.sh: added `indicator.c'.
513
514         * src/Makefile.am: ditto.
515
516         * src/indicator.c: separated from append.c.
517
518         * src/append.c: ditto.
519
520         * src/lha.h: ditto.
521
522         * src/lha_macro.h: ditto.
523
524 2003-07-20  Koji Arai  <jca02266@nifty.ne.jp>
525
526         * configure.ac: updated version.
527
528         * src/Makefile.am (EXTRA_DIST): fnmatch.h was missed.
529
530         * src/lha.h (fseeko, ftello): these macros had no effect.
531
532 2003-07-19  Koji Arai  <jca02266@nifty.ne.jp>
533
534         * src/maketree.c (make_len): discard debug print.
535
536         * configure.ac: updated version.
537
538         * src/prototypes.h: updated.
539
540         * config.h.in: updated.
541
542         * configure.ac: check declaration of `basename'.
543
544         * src/cproto.sh: ditto.
545
546         * src/util.c (encode_stored_crc): use size_t.
547
548         * src/lha.h (struct LzHeader): use size_t for the members
549         `packed_size' and `original_size'.
550
551 2003-07-13  Koji Arai  <jca02266@nifty.ne.jp>
552
553         * configure.ac: updated version.
554
555         * src/prototypes.h: updated.
556
557         * src/append.c (encode_lzhuf): use size_t and off_t instead of long.
558         (start_indicator): ditto.
559
560         * src/extract.c (decode_lzhuf): ditto.
561
562         * src/lha.h (struct interfacing): ditto.
563
564         * src/lhadd.c (add_one): ditto.
565         (find_update_files): ditto.
566         (delete): ditto.
567
568         * src/lhext.c (cmd_extract): ditto.
569
570         * src/util.c (copyfile): ditto.
571
572         * src/lhlist.c (print_size): use "%7lu" format string instead of
573         "%7ld" for large files.
574
575         * src/slide.c: refined.
576
577 2003-07-11  Koji Arai  <jca02266@nifty.ne.jp>
578
579         * src/lharc.c (cleaning_files): should print errno.
580
581 2003-05-23  Koji Arai  <jca02266@nifty.ne.jp>
582
583         * configure.ac: use fseeko(), ftello() instead of fseek(), ftell().
584
585         * config.h.in: ditto.
586
587         * src/lha.h, src/lhlist.c, src/lhext.c, src/lharc.c: ditto.
588
589         * src/lhadd.c, src/header.c: ditto.
590
591 2003-05-10  Koji Arai  <jca02266@nifty.ne.jp>
592
593         * configure.ac: updated version.
594
595         * src/lhext.c (inquire_extract): warning if stdin is not tty,
596         because you cannot reply from stdin.
597         (extract_one): return actual read size from archive.
598         (cmd_extract): fix a bug: skip correct size when error occurred.
599
600         * tests/lha-test5: added tests for above.
601
602         * src/lha.h (struct interfacing): added a member `read_size'.
603
604         * src/extract.c (decode_lzhuf): added an argument `pointer of
605         read_size'.
606
607         * src/prototypes.h: ditto.
608
609         * src/slide.c (decode): set actual read size to interface->read_size.
610
611 2003-04-14  Koji Arai  <jca02266@nifty.ne.jp>
612
613         * src/cproto.sh: The cproto 4.7a supports some gcc-specific keywords.
614
615 2003-03-24  Koji Arai  <jca02266@nifty.ne.jp>
616
617         * configure.ac: updated version.
618
619         * src/prototypes.h: updated.
620
621 2003-03-23  Koji Arai  <jca02266@nifty.ne.jp>
622
623         * src/header.c (convert_filename): support Samba CAP code (experimental).
624         (hex2int, int2hex, cap_to_sjis, sjis_to_cap): added for above.
625
626         * src/lha_macro.h (CODE_CAP): ditto.
627
628         * src/lharc.c (parse_option): added new command line options,
629         --system-kanji-code=xxx and --archive-kanji-code=xxx (experimental).
630
631         * 00readme.autoconf: described above features.
632
633 2003-03-22  Koji Arai  <jca02266@nifty.ne.jp>
634
635         * src/lharc.c (init_variable): do not use HEADER_LEVELx macros.
636         (parse_option): ditto.
637
638         * src/header.c (write_header): ditto.
639
640         * src/lha_macro.h (HEADER_LEVEL0, HEADER_LEVEL1, HEADER_LEVEL2, MATCHBIT): ditto.
641
642         * src/huf.c (encode_start_st1): do not use assert().
643         (decode_start_st1): ditto.
644
645 2003-03-12  Koji Arai  <jca02266@nifty.ne.jp>
646
647         * src/header.c (wintime_to_unix_stamp): should cast to unsigned type.
648
649 2003-03-03  Koji Arai  <jca02266@nifty.ne.jp>
650
651         * src/prototypes.h: updated.
652
653         * src/cproto.sh: improved.
654
655 2003-02-24  Koji Arai  <jca02266@nifty.ne.jp>
656
657         * src/prototypes.h: updated.
658
659         * src/maketree.c: hate global variables.
660
661         * src/lha_macro.h: refined.
662
663         * src/huf.c: refined.
664
665         * src/util.c (strdup): defined more properly.
666         (memset): ditto.
667
668         * prototypes.h: ditto.
669
670         * cproto.sh: ditto.
671
672 2003-02-23  Koji Arai  <jca02266@nifty.ne.jp>
673
674         * src/cproto.sh: improved.
675
676         * src/prototypes.h: updated.
677
678         * src/util.c: `strucmp()' was replaced by `strcasecmp()'.
679
680         * src/util.c (archive_is_msdos_sfx1): ditto.
681
682         * src/lharc.c (open_old_archive): ditto.
683
684         * src/lha.h: ditto.
685
686         * src/util.c: discard `rename()', `mkdir()' and `rmdir()'.
687
688         * configure.ac: ditto.
689
690         * config.h.in: ditto.
691
692         * src/header.c: added credit.
693         no longer use `ftime()', `tzset()', `localtime()' and `gettimeofday()'.
694
695 2003-02-17  Koji Arai  <jca02266@nifty.ne.jp>
696
697         * configure.ac: updated version.
698
699         * src/fnmatch.h: no need to include <sys/cdefs.h>. it does not
700         exist on MinGW.
701
702 2003-02-14  Koji Arai  <jca02266@nifty.ne.jp>
703
704         * src/lharc.c (find_files): `goto' requires expression after label.
705
706         * src/lhadd.c (cmd_add): ditto.
707
708 2003-02-05  Koji Arai  <jca02266@nifty.ne.jp>
709
710         * tests/lha-test7: sleep 1 to make sure for updating tests.
711
712         * src/fnmatch.c, src/fnmatch.h: added fnmatch.c derived from the
713         OpenBSD.
714
715 2003-02-04  Koji Arai  <jca02266@nifty.ne.jp>
716
717         * configure.ac: need to call `AC_CANONICAL_HOST' for automake
718         1.6.x (for installing the config.guess and config.sub).
719
720 2003-02-02  Koji Arai  <jca02266@nifty.ne.jp>
721
722         * src/header.c, src/lharc.c: fix credit.
723
724 2003-01-20  Koji Arai  <jca02266@nifty.ne.jp>
725
726         * src/lha.h (prev_char): discard unused variable `prev_char'.
727
728         * src/crcio.c (fwrite_txt): ditto.
729
730         * src/slide.c (decode): ditto.
731
732         * src/slide.c: refined a little.
733
734 2003-01-19  Koji Arai  <jca02266@nifty.ne.jp>
735
736         * src/slide.c: took off the debug flag.
737
738         * src/slide.c (search_dict): split into 2 parts.
739
740         * src/slide.c: refined: use the structure `matchdata'.
741
742 2003-01-18  Koji Arai  <jca02266@nifty.ne.jp>
743
744         * src/lha.h (decode_count): rename a global variable `count' to
745         `decode_count'.
746
747         * src/dhuf.c (decode_p_dyn): ditto.
748
749         * src/slide.c (decode): ditto and refined.
750
751 2003-01-17  Koji Arai  <jca02266@nifty.ne.jp>
752
753         * src/slide.c: refined ?
754
755         * src/slide.c (INIT_HASH, NEXT_HASH): newly defined to refine.
756
757 2003-01-13  Koji Arai  <jca02266@nifty.ne.jp>
758
759         * src/prototypes.h: updated.
760
761         * src/slide.c: refined.
762
763 2002-12-31  Koji Arai  <jca02266@nifty.ne.jp>
764
765         * src/lhext.c (adjust_info): On Cygwin, execute permission should
766         be set for .exe or .dll.
767
768 2002-12-28  Koji Arai  <jca02266@nifty.ne.jp>
769
770         * src/lha_macro.h (peekbits): newly added.
771
772         * src/huf.c (read_pt_len): use peekbits().
773         (read_c_len): ditto.
774         (decode_c_st1): ditto.
775         (decode_p_st1): ditto.
776
777         * src/shuf.c (decode_c_st0): ditto.
778         (decode_p_st0): ditto.
779
780 2002-12-23  Koji Arai  <jca02266@nifty.ne.jp>
781
782         * configure.ac: added a configure option: --enable-ignore-dot-files.
783
784         * config.h.in: ditto.
785
786         * src/lharc.c (parse_option): added `-X' option to ignore dot files.
787
788 2002-12-17  Koji Arai  <jca02266@nifty.ne.jp>
789
790         * configure.ac: should check whether system has `ssize_t'.
791
792         * config.h.in: ditto.
793
794         * lha.h: ditto.
795
796         * configure.ac: added checking functions `fnmatch' and `basename'.
797         but not yet prepare the free fnmatch.c.
798
799         * config.h.in: ditto.
800
801         * src/util.c (basename): newly added.
802
803         * src/lhadd.c (cmd_add): exclude files specified by -x option.
804
805         * src/lharc.c (print_tiny_usage): refined.
806
807 2002-12-16  Koji Arai  <jca02266@nifty.ne.jp>
808
809         * 00readme.autoconf: describe about new feature `-x'.
810
811         * src/lha.h: include fnmatch.h.
812         added a global variable `exclude_files'.
813
814         * src/lharc.c (init_variable): initialize `exclude_files'.
815         (print_tiny_usage): modify usage.
816         (parse_option): newly added. should regard leading `-' argument as
817         option (for new -x option).
818         added `-x <pattern>' option (specify exclude files pattern).
819         (find_files): files matched by pattern `exclude_files' exclude
820         from target files.
821
822 2002-11-25  Koji Arai  <jca02266@nifty.ne.jp>
823
824         * src/header.c: use size_t for header_size.
825         (skip_msdos_sfx1_code): rename to `seek_lha_header()'.
826
827         * src/lha.h: use size_t for header_size.
828
829         * src/lhadd.c (cmd_add): rename `skip_msdos_sfx1_code()' to
830         `seek_lha_header()'.
831         (cmd_delete): ditto.
832
833         * src/lhext.c (cmd_extract): ditto.
834
835         * src/lhlist.c (cmd_list): ditto.
836
837         * src/prototypes.h: updated.
838
839         * tests/lha-test15: added tests to search any level headers.
840
841 2002-11-17  Koji Arai  <jca02266@nifty.ne.jp>
842
843         * untabify all sources.
844
845         * src/huf.c (encode_start_st1): refined.
846         (decode_start_st1): refined.
847
848         * src/slide.c (encode_alloc): refined.
849         (update): refined.
850
851 2002-11-15  Koji Arai  <jca02266@nifty.ne.jp>
852
853         * 00readme.autoconf: updated.
854
855         * src/prototypes.h: updated.
856
857         * configure.ac, Makefile.am, olddoc/Makefile.am:
858           old documentations moved to olddoc directory.
859
860         * CHANGES.euc, MACHINES2.euc, README.euc, change-114h.txt, change-114e.txt, change-114i.txt, IFNAMES, Makefile.in, change-114f.txt, config.eng, MACHINES.euc, PROBLEMS.euc, change-114g.txt, config.jpn.euc: ditto.
861
862         * Makefile.in.org, src/Makefile.in.org: removed.
863
864         * configure.ac: updated version (source maintenance start on
865         sourceforge.jp)
866
867 2002-11-11  Koji Arai  <jca02266@nifty.ne.jp>
868
869         * src/lhext.c (make_parent_path): On Cygwin, when `foo.exe'
870         exists, stat("foo", &buf) is successful and it is not a directory.
871
872         * src/util.c (skip_msdos_sfx1_code): move to header.c
873
874         * src/header.c (skip_msdos_sfx1_code): ditto.
875         some macro moved from lha_macro.h.
876
877         * src/lha_macro.h: ditto.
878
879         * tests/lha-test15: newly added for testing self extracting archive.
880
881         * tests/lha-test.in: ditto.
882
883         * tests/Makefile.am: ditto.
884
885         * configure.ac: refined messages.
886
887 2002-10-26  Koji Arai  <jca02266@nifty.ne.jp>
888
889         * src/bitio.c (putbits): use the function putcode().
890
891         * src/dhuf.c (decode_start_dyn): call init_code_cache().
892
893         * src/huf.c (encode_start_st1): ditto.
894         (decode_start_st1): ditto.
895
896         * src/larc.c (decode_start_lzs): ditto.
897
898         * src/shuf.c (decode_start_st0): ditto.
899         (encode_start_fix): ditto.
900         (decode_start_fix): ditto.
901
902         * src/Makefile.am: added bitio.c
903
904         * src/cproto.sh: added bitio.c
905
906         * src/bitio.c: new file.
907
908         * src/crcio.c: extracted bitio routines.
909
910         * src/lha.h: ditto.
911
912 2002-10-16  Koji Arai  <jca02266@nifty.ne.jp>
913
914         * 00readme.autoconf: modified.
915
916 2002-10-02  Koji Arai  <jca02266@nifty.ne.jp>
917
918         * src/util.c (xstrchr): `strchr(s, 0)' should return the pointer
919         of the '\0' terminator.
920
921 2002-09-14  Koji Arai  <jca02266@nifty.ne.jp>
922
923         * src/lhadd.c (add_one): Use chsize() if system does not have
924         ftruncate(2). (For MinGW)
925
926         * configure.ac: ditto.
927
928         * config.h.in: ditto.
929
930 2002-09-03  Koji Arai  <jca02266@nifty.ne.jp>
931
932         * released.
933
934         * 00readme.autoconf: modified for stable release.
935
936         * configure.ac: updated version.
937
938 2002-09-01  Koji Arai  <jca02266@nifty.ne.jp>
939
940         * tests/Makefile.am (EXTRA_DIST): lha-test12, lha-test13 and
941         lha-test14 were missed.
942
943 2002-08-31  Koji Arai  <jca02266@nifty.ne.jp>
944
945         * src/lhadd.c (append_it): refined.
946
947         * src/lhadd.c (append_it): no terminate when file cannot be opened.
948
949 2002-08-29  Koji Arai  <jca02266@nifty.ne.jp>
950
951         * tests/lha-test11: change the way of checking the `header size field'.
952
953         * configure.ac: the `--enable-user-name-header' switch has been
954         ineffective. corrected variable name.
955
956 2002-08-26  Koji Arai  <jca02266@nifty.ne.jp>
957
958         * tests/lha-test14: on Cygwin, cannot use '|' as filesname.
959
960         * tests/lha-test.in: on MinGW, skip lha-test14 test.
961
962         * 00readme.autoconf: modified.
963
964         * released.
965
966         * configure.ac: updated version.
967
968         * src/header.c: fixed a comment.
969
970         * src/prototypes.h (strcmp_filename): removed.
971
972         * src/header.c (dump_skip_bytes): note "ignored" if data is ignored.
973
974         * src/header.c (wintime_to_unix_stamp): newly added for converting
975         from `FILETIME' to `time_t'.
976         (get_extended_header): use `wintime_to_unix_stamp()' to recognize
977         the Windows time stamp header (0x41).
978
979         * src/lha.h: define `uint64_t' unless system has it.
980
981         * configure.ac: check existence of the type `uint64_t'.
982
983         * config.h.in: ditto.
984
985         * src/lharc.c (init_variable): set default header level to 2.
986
987 2002-08-24  Koji Arai  <jca02266@nifty.ne.jp>
988
989         * tests/lha-test.in (lha-test14): added to test the symbolic link file.
990
991         * tests/lha-test14: ditto.
992
993         * src/lhlist.c (list_one): use LzHeader.realname.
994
995         * src/lhext.c (extract_one): use LzHeader.realname.
996         should call make_parent_path(symlink).
997
998         * src/lhadd.c (add_one): use LzHeader.realname.
999         (delete): ditto.
1000         (append_it): use strcmp() instead of strcmp_filename().
1001         (strcmp_filename): removed.
1002
1003         * src/lha.h (struct LzHeader): added a member `realname' which is
1004         symbolic linked name.
1005
1006         * src/header.c (get_header): split symbolic name in archive.
1007         (write_header): join symbolic link name and linked name to put it
1008         in archive.
1009
1010         * src/lhext.c (extract_one): force extract when `f' option is
1011         specified. this is for OS-9 archives, [provisional].
1012
1013         * src/header.c: fixed cpp expressions around time functions.
1014
1015         * tests/lha-test8: test MS-DOS timestamp `ftime' structure.
1016
1017         * tests/lha-test.in (change_timestamp): newly added.
1018
1019 2002-08-22  Koji Arai  <jca02266@nifty.ne.jp>
1020
1021         * released.
1022
1023         * src/prototypes.h: regenerated.
1024
1025         * src/cproto.sh: refined.
1026
1027         * configure.ac: updated version.
1028
1029         * configure.ac: should use `exit' rather than `return' on
1030         AC_TRY_RUN().  see the Autoconf manual.
1031
1032         * configure.ac: check whether the 2nd argument of gettimeofday()
1033         is effective.
1034
1035         * src/header.c: ditto.
1036
1037         * config.h.in (GETTIMEOFDAY_HAS_2ND_ARG): ditto.
1038
1039         * tests/lha-test.in: `++' is invalid arithmetic operator on POSIX
1040         shell, Ksh and Bash version 2.03 or earlier.
1041
1042         * tests/lha-test13: ditto.
1043
1044 2002-08-18  Koji Arai  <jca02266@nifty.ne.jp>
1045
1046         * src/lharc.c (print_version): version string is made here.
1047
1048         * src/lha_macro.h (LHA_VERSION): removed.
1049
1050         * src/slide.c (encode_alloc): used newly named `dicbit' macro.
1051
1052         * src/shuf.c (read_tree_p): ditto.
1053         (decode_start_fix): ditto.
1054
1055         * src/lha_macro.h: `xxx_DICBIT' for each method was defined.
1056
1057         * src/header.c: correct a comment `Generic stamp format'.
1058         (get_bytes): fixed for dumping header.
1059
1060         * src/lha_macro.h, src/lha.h: `EXTERN' macro definition was moved
1061         to lha.h.
1062
1063         * src/header.c (get_bytes): print hex codes for invisible chars.
1064
1065         * src/lhlist.c: hate global variables.
1066
1067         * src/prototypes.h (convdelim): removed.
1068
1069         * src/lhlist.c (print_stamp): use ISO 8601 date format when `lha vv'.
1070
1071 2002-08-14  Koji Arai  <jca02266@nifty.ne.jp>
1072
1073         * src/header.c: discarded warning message for the extended header,
1074         `Windows time stamp' ignored.
1075
1076         * src/header.c: in spite of extended type value, read contents of
1077         any ext headers.
1078
1079         * src/header.c: comment fixed.
1080
1081 2002-08-12  Koji Arai  <jca02266@nifty.ne.jp>
1082
1083         * src/header.c (dump_skip_bytes): do nothing when length is 0.
1084
1085 2002-08-11  Koji Arai  <jca02266@nifty.ne.jp>
1086
1087         * src/lha_macro.h (SJC_FIRST_P): rename to SJIS_FIRST_P.
1088         (SJC_SECOND_P): rename to SJIS_SECOND_P.
1089
1090         * src/util.c (convdelim): removed.
1091
1092         * src/header.c (convert_filename): when small letter is included
1093         in filename, do not convert case.
1094
1095         * tests/lha-test.in, tests/lha-test2, tests/lha-test3, tests/lha-test4, tests/lha-test5, tests/lha-test6, tests/lha-test7, tests/lha-test8, tests/lha-test9, tests/lha-test10, tests/lha-test11, tests/lha-test12, tests/lha-test13:
1096         print filename when test failed.
1097
1098         * tests/lha-test.in, tests/lha-test12, tests/lha-test13:
1099         added tests for converting text files.
1100
1101         * src/header.c (get_extended_header): recognize the Windows time
1102         stamp header (0x41), but ignored.
1103
1104         * src/header.c (write_unix_info): added.
1105
1106 2002-08-11  Koji Arai  <jca02266@nifty.ne.jp>
1107
1108         * released.
1109
1110         * configure.ac: updated version.
1111
1112         * 00readme.autoconf: modified.
1113
1114         * src/header.c: DUMP_HEADER is always true.
1115         dump header when running `lha vvv foo.lzh'.
1116         (get_header): added new extend type JAVA.
1117
1118         * src/lha_macro.h (EXTEND_JAVA): added new extend type JAVA.
1119
1120         * src/lhlist.c (list_one): ditto.
1121
1122         * src/lharc.c (init_variable): `verbose' is changed to successive.
1123         (main): ditto.
1124
1125 2002-08-10  Koji Arai  <jca02266@nifty.ne.jp>
1126
1127         * src/lhlist.c (list_one): fixed mode checks.
1128
1129         * src/prototypes.h: updated.
1130
1131         * src/header.c (get_header_level2): check CRC value for reading
1132         level 2 and 3 header.
1133         (get_header_level3): ditto.
1134         (get_extended_header): ditto.
1135         (get_header_level0): set total header size to
1136         `LzHeader.header_size' even if level 0 or 1 header is read.
1137         (get_header_level1): ditto.
1138
1139         * src/append.c (encode_lzhuf): encode(), decode() and copyfile()
1140         were changed.
1141         (put_indicator): moved from crcio.c.
1142
1143         * src/crcio.c (put_indicator): moved to append.c.
1144         (calccrc): generalized.
1145         (fread_crc): changed interface.
1146         (fwrite_crc): changed interface.
1147         (calc_header_crc): removed. use calccrc() instead.
1148
1149         * src/extract.c (decode_lzhuf): copyfile() and decode() were changed.
1150
1151         * src/lha.h: hate global variable. `crc' is removed.
1152         `reading_size' moved to append.c.
1153
1154         * src/lha_macro.h (INITIALIZE_CRC): newly added.
1155         (UPDATE_CRC): no update in macro code.
1156
1157         * src/lhadd.c (temporary_to_new_archive_file): copyfile() was changed.
1158
1159         * src/lharc.c (copy_old_one): header size adjusting is done by
1160         the get_header().
1161
1162         * src/slide.c (update): changed interface.
1163         (get_next): ditto.
1164         (encode): ditto.
1165         (decode): ditto.
1166
1167         * src/util.c (copyfile): changed interface.
1168
1169 2002-08-10  Koji Arai  <jca02266@nifty.ne.jp>
1170
1171         * tests/lha-test5: added tests using pipe.
1172
1173         * src/lhadd.c (cmd_add): applied reverse patch.  intermediate file
1174         is the necessary when created archive put in pipe.
1175
1176         * src/header.c (skip_bytes): newly added.
1177         (dump_get_byte): newly added for dumping the data for debugging.
1178         (dump_skip_bytes): ditto.
1179         (get_word): ditto.
1180         (get_longword): ditto.
1181         (get_bytes): ditto.
1182         (get_extended_header): modified for reading the level 3 header.
1183         (get_header_level3): newly added.
1184
1185         * src/lha.h (struct LzHeader): for level 3 header, added a new
1186         member `size_field_length' and changed type of the `header_size'
1187         from int to long.
1188
1189         * src/header.c (init_header): the `hdr->method' should be
1190         initialized to the "-lh0-" for empty files.
1191
1192         * tests/lha-test2: ditto.
1193
1194         * src/lhadd.c (add_one): should print indicator for empty files.
1195
1196 2002-08-09  Koji Arai  <jca02266@nifty.ne.jp>
1197
1198         * tests/lha-test.in: adapt to ksh (and posix shell).
1199
1200 2002-08-05  Koji Arai  <jca02266@nifty.ne.jp>
1201
1202         * 00readme.autoconf: refined.
1203
1204         * config.h.in (BACKUP_OLD_ARCHIVE): added.
1205
1206         * configure.ac: added a command line switch `--enable-backup-archive'.
1207
1208         * src/lhadd.c (cmd_add): if `backup_old_archive' is true, no
1209         backup archive.
1210         (cmd_delete): ditto.
1211
1212         * src/lharc.c (init_variable): initialize `backup_old_archive'.
1213
1214         * src/lha.h (backup_old_archive): added for nobackup.
1215
1216 2002-08-02  Koji Arai  <jca02266@nifty.ne.jp>
1217
1218         * src/lha_macro.h, src/lha.h, src/header.c, src/lhadd.c: Fixed
1219         misspelling, not `STRAGE' but `STORAGE'.
1220
1221 2002-07-29  Koji Arai  <jca02266@nifty.ne.jp>
1222
1223         * re-released.
1224
1225         * src/header.c: should use error() instead of fatal_error().
1226         (get_header): fixed wrong end mark checking.
1227
1228         * src/prototypes.h: updated.
1229
1230         * released.
1231
1232         * configure.ac: updated version.
1233
1234         * 00readme.autoconf: described about header.c bug on original lha.
1235
1236 2002-07-28  Koji Arai  <jca02266@nifty.ne.jp>
1237
1238         * tests/Makefile.am: added lha-test11.
1239
1240         * src/crcio.c (fread_txt): responded to (gcc -Wall) compiler warnings.
1241
1242         * src/header.c (generic_to_unix_stamp): ditto.
1243
1244         * src/lha_macro.h: ditto.
1245
1246         * src/lhadd.c (delete): ditto.
1247
1248         * src/lharc.c (open_old_archive): ditto.
1249
1250         * src/lhlist.c (list_one): ditto.
1251
1252         * src/prototypes.h: updated.
1253
1254         * tests/lha-test.in: added lha-test11.
1255
1256         * tests/lha-test8: added tests for level 0 and 2 header.
1257
1258         * tests/lha-test10: added tests for generic header.
1259
1260         * tests/lha-test11: testing for long filename. moved from lha-test10.
1261
1262 2002-07-26  Koji Arai  <jca02266@nifty.ne.jp>
1263
1264         * src/header.c (write_header): rewritten.
1265
1266 2002-07-25  Koji Arai  <jca02266@nifty.ne.jp>
1267
1268         * tests/lha-test4: stderr should be redirected.
1269
1270         * src/lharc.c (main): exit with status 1 (meaning failure) when the
1271         function error() was called.
1272         (error): ditto.
1273
1274         * src/lha.h (LzHeader.last_modified_stamp;): no longer used it.
1275
1276         * src/header.c (get_header): rewritten.
1277
1278 2002-07-21  Koji Arai  <jca02266@nifty.ne.jp>
1279
1280         * tests/lha-test10: change grep pattern so that pattern matches
1281         a carriage return at the end of line for MinGW.
1282
1283         * src/lha.h: define `struct utimbuf' when utime.h is not given
1284         such as MinGW. (Microsoft Visual Studio 6.0 has sys/utime.h).
1285
1286         * src/lhext.c (make_parent_path): missing braces.
1287
1288         * tests/lha-test.in (check): print script line number when test failed.
1289
1290         * tests/lha-test2, tests/lha-test3, tests/lha-test4, tests/lha-test5, tests/lha-test6, tests/lha-test7, tests/lha-test8, tests/lha-test9, tests/lha-test10: ditto.
1291
1292         * tests/lha-test10: on Cygwin/MinGW, could not make 255 bytes
1293         filename. (the system limit of filename length contains the length
1294         of current directory.)
1295
1296         * tests/lha-test10: should use /bin/ls instead of ls, since
1297         /usr/ucb/ls puts size on 4th field (on Solaris).
1298
1299 2002-07-18  Koji Arai  <jca02266@nifty.ne.jp>
1300
1301         * released.
1302
1303         * configure.ac: updated version.
1304
1305         * src/lhext.c (adjust_info): should use `struct utimbuf' for
1306         `utime(2)' rather than `time_t' array.
1307
1308         * src/header.c (write_header): [BUG]: should not write zero at the
1309         first byte on level 2 header. should adjust header size.
1310
1311         * tests/lha-test10: added tests for level 2 header.
1312
1313         * src/lha_macro.h, src/header.c (setup_get): moved to header.c.
1314         (get_byte): ditto.
1315         (put_ptr): ditto.
1316         (setup_put): ditto.
1317         (put_byte): ditto.
1318         (get_bytes): newly added.
1319         (put_bytes): newly added.
1320
1321 2002-07-17  Koji Arai  <jca02266@nifty.ne.jp>
1322
1323         * src/header.c (get_header): [BUG]: Could not read level 2 header
1324         when the header size is grater than 256.
1325         (convert_filename): Should use the `FILENAME_LENGTH' macro rather
1326         than 256.
1327         (write_header): [BUG]: Suppress to overflow the header size when
1328         long filename is written in level 0 or 1 header. On level 1
1329         header, always use the extended filename header instead of the
1330         base header.
1331
1332         * src/lha.h (LzHeader): the type of `header_size' was changed
1333         from `unsigned char' to `int', for the level 2 header archive.
1334
1335         * src/lhext.c (extract_one): should use the `FILENAME_LENGTH'
1336         macro rather than 256 (provisionally fixed).
1337
1338         * tests/lha-test.in: notify failed test number.
1339
1340         * tests/lha-test10: added tests for long pathname.
1341
1342 2002-07-14  Koji Arai  <jca02266@nifty.ne.jp>
1343
1344         * re-released.
1345
1346         * src/header.c (get_header): archive path separator should be
1347         converted always.
1348
1349         * released.
1350
1351         * configure.ac: updated version.
1352
1353         * src/header.c (write_header): if user/group name is not set,
1354         extended header (0x52 and 0x53) should not be made.
1355
1356         * tests/lha-test10: added testing to handle deep directory.
1357
1358         * src/header.c (write_header): fixed typo, not strchr() but
1359         strrchr().
1360
1361         * src/prototypes.h: regenerated.
1362
1363         * src/header.c (convert_filename): prefer to use the
1364         `FILENAME_LENGTH' macro rather than 256.
1365
1366         * src/cproto.sh: fixed typo.
1367
1368 2002-07-11  Koji Arai  <jca02266@nifty.ne.jp>
1369
1370         * tests/Makefile.am (EXTRA_DIST): lha-test9 and lha-test10 were missed.
1371
1372         * src/lharc.c (print_tiny_usage): no exit here.
1373
1374         * src/header.c (ConvertEncodingByIconv): newly added.
1375         Thanks to Hiroto Sakai.
1376
1377         * configure.ac, config.h.in: Checking to have iconv() for utf-8
1378         conversion.
1379
1380         * configure.ac: Checking whether strrchr() is 8 bit clean or not.
1381         On Mac OS X, strchr() can handle 8 bit characters, but strrchr()
1382         cannot.
1383         Should use '\377' rather than '\xff' for de-ANSI compiler.
1384
1385 2002-07-10  Koji Arai  <jca02266@nifty.ne.jp>
1386
1387         * released.
1388
1389         * configure.ac: updated version.
1390
1391         * src/header.c: change hex codes '\xff' to octal codes '\377'.
1392
1393         * tests/lha-test.in: Skip the lha-test9. (this test is imcomplete
1394         for now)
1395
1396         * tests/lha-test10: Should extract directory even if the archive
1397         header was level 0.
1398
1399         * src/header.c (get_header): Should convert kanji code and path
1400         separator for the level 0 header entry.
1401         Should convert `\' to `/' for level 0 header (do always to make sure,
1402         SO CANNOT CONTAIN THE `\' IN FILENAME).
1403         (init_header): [BUG]: Should not convert path separator here (Should do
1404         in write_header()).
1405         (write_header): [BUG]: should set pathname (contains directory part) to
1406         the LzHeader.name field on level 0 header archive even if the
1407         archive methods is -lhd-.
1408
1409 2002-07-09  Koji Arai  <jca02266@nifty.ne.jp>
1410
1411         * src/lha.h, src/header.c: the CoreFoundation header inclusion
1412         moved to header.c.
1413
1414         * src/lha.h, src/lharc.c, IFNAMES: macro NODIRECTORY was removed.
1415
1416         * src/lha.h, src/lhadd.c, src/lharc.c, src/lhext.c: fixed
1417         misspelling, not `writting' but `writing'.
1418
1419 2002-07-07  Koji Arai  <jca02266@nifty.ne.jp>
1420
1421         * src/lha.h, src/lha_macro.h: refined.
1422
1423         * src/lhadd.c (append_it): macro STRING_COMPARE() was discarded.
1424
1425         * src/lha_macro.h: ditto.
1426
1427         * IFNAMES: NOVOID was removed.
1428
1429         * src/lharc.c (main): terminate with exit status 2 when specified
1430         command line switche is wrong,
1431
1432         * configure.ac, config.h.in: added checking utime.h existent.
1433
1434         * src/crcio.c (putc_euc): void returned.
1435
1436         * src/header.c, src/lha.h, src/lha_macro.h, src/lhadd.c: refined.
1437
1438         * src/lharc.c, src/prototypes.h, src/slide.c: refined.
1439
1440         * configure.ac: should specify the 4th argument to AC_TRY_RUN()
1441         for cross compiling.
1442
1443         * configure.ac: fix a test expression.
1444
1445         * src/cproto.sh: added for maintainer.
1446
1447         * src/lha.h: support de-ANSI variable arguments.
1448
1449         * src/lharc.c: ditto.
1450
1451         * src/util.c: ditto.
1452
1453         * src/Makefile.am (lha_SOURCES): added prototypes.h.
1454
1455         * src/lha.h: function prototypes moved to prototypes.h.
1456
1457         * src/prototypes.h: generated by the cproto command.
1458
1459         * configure.ac: On Mac OS X, in spite of using the CoreFoundation
1460         for utf-8 conversion, I have missed specifying the `-framework
1461         CoreFoundation' in LDFLAGS.
1462
1463         * src/Makefile.am (EXTRA_DIST): no need to specify `lhdir.c'.
1464
1465 2002-07-06  Koji Arai  <jca02266@nifty.ne.jp>
1466
1467         * released.
1468
1469         * configure.ac: updated version.
1470
1471         * tests/lha-test10: added testing the header level 0, 1 and 2.
1472
1473         * tests/lha-test.in: ditto.
1474
1475         * src/lharc.c: `#include <stdarg.h>' moved to lha.h.
1476
1477         * src/lha.h: ditto.
1478
1479         * src/util.c: ditto.
1480
1481         * configure.ac: AC_REPLACE_FUNCS(vsnprintf).
1482
1483         * config.h.in: ditto.
1484
1485         * src/lha.h: ditto.
1486
1487         * src/vsnprintf.c: derived snprintf() which has the BSD licence.
1488
1489         * configure.ac: fix typo.
1490
1491         * configure.ac: checking whether strchr() is 8 bit clean or not.
1492
1493         * config.h.in: ditto.
1494
1495         * src/util.c: give functions strchr(), strrchr(), memchr() and
1496         memrchr() which handle 8 bit characters correctly.
1497
1498         * src/header.c: use above if needed.
1499
1500         * src/lha_macro.h: deprecate the macro name `DELIM2' which is path
1501         separattor for the filename in lha header.
1502         use LHA_PATHSEP instead.
1503
1504         * src/util.c (convdelim): ditto.
1505
1506         * src/header.c (convert_filename): ditto.
1507         (write_header): ditto.
1508
1509         * src/header.c (convert_filename): fixed bug on utf8 conversion,
1510         provisionally.
1511
1512 2002-06-30  Koji Arai  <jca02266@nifty.ne.jp>
1513
1514         * configure.ac: fixed typo.
1515
1516         * src/header.c (sjis_to_utf8): fixed typo.
1517         (utf8_to_sjis): fixed typo.
1518
1519         * src/lhadd.c (cmd_add): Missed to adjust the index when specified
1520         adding file is same as the generating archive file.
1521
1522 2002-06-29  Koji Arai  <jca02266@nifty.ne.jp>
1523
1524         * src/header.c (convert_filename): rename a function
1525         `filename_conv()' to `convert_filename()'.
1526         (sjis_to_utf8_static): no use the static variable.
1527         (utf8_to_sjis_static): ditto.
1528
1529         * src/lha.h: rename sjis_to_utf8_static() and utf8_to_sjis_static()
1530         into sjis_to_utf8() and utf8_to_sjis().
1531
1532         * src/lha_macro.h: added a macro `CODE_UTF8'.
1533
1534         * configure.ac: decide CODE_UTF8.
1535         updated version.
1536
1537         * 00readme.autoconf: modified.
1538
1539         * configure.ac: modified for Mac OS X.
1540
1541         * src/header.c, lha.h, lha_macro.h, lharc.c: Merged a patch for
1542         the Mac OS X, convert utf-8 filename to shift_jis. This patch was
1543         contributed on LHa BBS. Thanks to Hiroto Sakai.
1544
1545         * src/lhext.c: replaced bcmp() with memcmp().
1546
1547         * src/lha_macro.h: ditto.
1548
1549         * src/append.c: replace bcopy() with memcpy() or memmove().
1550
1551         * src/lha_macro.h: ditto.
1552
1553         * src/lhadd.c: ditto.
1554
1555         * src/lharc.c: ditto.
1556
1557         * src/header.c: ditto.
1558         replace bzero() with memset().
1559
1560         * src/lhadd.c (cmd_add): exlclude the target archive. (reported on
1561         the LHa BBS [28])
1562
1563         * src/slide.c (encode_alloc): Wrong value was assigned to the
1564         `dicbit', when SUPPORT_LH7 was not defined. (fixed by DANGAN,
1565         reported on the LHa BBS [38]).
1566
1567         * src/lha_macro.h: ditto.
1568
1569         * src/shuf.c (decode_c_st0): the method of -lh3- extraction was
1570         fixed by DANGAN (reported on the LHa BBS [35]).
1571
1572         * src/lha_macro.h (LH3_DICBIT): ditto.
1573
1574         * src/dhuf.c (encode_c_dyn): the method of -lh1- compression was
1575         refined by DANGAN (reported on the LHa BBS [30], [39], [62]).
1576
1577 2002-06-26  Koji Arai  <jca02266@nifty.ne.jp>
1578
1579         * tests/lha-test4: Skip a test for the LHa for UNIX (original version).
1580
1581         * tests/lha-test3: Rewrite tests for generic format archives.
1582
1583         * tests/lha-test2: Added tests for -lh0- method.
1584         Moved from contents of lha-test3 (tests for print archive).
1585
1586 2002-06-23  Koji Arai  <jca02266@nifty.ne.jp>
1587
1588         * tests/lha-test.in: On Cygwin/MinGW, cannot test lha-test9.
1589
1590         * src/lhext.c: Fixed a misspelling. not `Symblic' but `Symbolic'.
1591           reported on LHa BBS (see <http://www2m.biglobe.ne.jp/~dolphin/>).
1592
1593         * src/lharc.c: ditto.
1594
1595         * src/slide.c (interface;): Fixed wrong index.
1596           reported on LHa BBS (see <http://www2m.biglobe.ne.jp/~dolphin/>).
1597
1598         * 00readme.autoconf: refined.
1599
1600         * tests/lha-test9: added tests for overriding files.
1601
1602         * tests/lha-test.in: added test9.
1603
1604         * src/lhext.c (cmd_extract): ftell(stdin) will return -1, so
1605         re-fixed provisionaly.
1606
1607         * src/lhext.c (cmd_extract): When error occurred in extract_one(),
1608         should adjust point of file stream.
1609
1610         * configure.ac: library checkings (for libmingwex) should be done
1611         before header checkings.
1612
1613 2002-06-22  Koji Arai  <jca02266@nifty.ne.jp>
1614
1615         * released:
1616
1617         * configure.ac: updated version.
1618
1619         * src/lharc.c (init_variable): Removed useless assignments.
1620
1621         * src/lharc.c (main): Behavior was changed. when `q' or `q2' option
1622         (not `q1') is specified, the `f' option is enabled implicitly.
1623         In original behavior, the option `q', `q0', `q1' and `q2' will
1624         enable `f' option implicitly (bug?).
1625
1626         * src/lharc.c (main): [BUG]: When `q2' option is specified,
1627         level 2 header is generated.
1628
1629 2002-06-21  Koji Arai  <jca02266@nifty.ne.jp>
1630
1631         * tests/Makefile.am: Use the `DISTCLEANFILES' variable instead of the `dist-hook' target.
1632
1633         * tests/Makefile.am: Added `dist-hook' target for `make distcheck'.
1634
1635         * tests/lha-test.in: All tests are splited into some files.
1636
1637         * tests/Makefile.am: ditto.
1638
1639         * tests/lha-test2: ditto.
1640
1641         * tests/lha-test3: ditto.
1642
1643         * tests/lha-test4: ditto.
1644
1645         * tests/lha-test5: ditto.
1646
1647         * tests/lha-test6: ditto.
1648
1649         * tests/lha-test7: ditto.
1650
1651         * tests/lha-test8: ditto.
1652
1653 2002-06-20  Koji Arai  <jca02266@nifty.ne.jp>
1654
1655         * src/lhadd.c (cmd_add): No create an intermediate file when archive
1656         is written in stdout.
1657
1658 2002-06-19  Koji Arai  <jca02266@nifty.ne.jp>
1659
1660         * 00readme.autoconf: Modified.
1661
1662 2002-06-18  Koji Arai  <jca02266@nifty.ne.jp>
1663
1664         * configure.in: Removed. (no support the Autoconf version 2.13).
1665
1666         * config.h.in: Changed meaning of the value of the `MULTIBYTE_FILENAME'.
1667
1668         * src/header.c: Remove preprocess codes for kanji code decision.
1669
1670         * configure.ac: When --enable-multibyte-filename[=auto] is specified,
1671         decide kanji code for filename automatically.
1672         Otherwise, euc or sjis is specified, it is EUC-JP or Shift_JIS.
1673
1674 2002-06-17  Koji Arai  <jca02266@nifty.ne.jp>
1675
1676         * configure.in, configure.ac: updated version.
1677
1678         * configure.in, configure.ac: On mingw-runtime-2.0-1, opendir()
1679         has moved to libmingwex.a. For now, not listed in the
1680         /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs file.
1681
1682         * src/lharc.c (message): use variable argument list with stdarg.
1683         (warning): ditto.
1684         (error): ditto.
1685         (write_error): removed.
1686         (read_error): removed.
1687         (build_temporary_name): use xsnprintf().
1688         (open_old_archive): ditto.
1689         (expanded_archive_name): move in the function (open_old_archive()) as static.
1690
1691         * src/crcio.c (putcode): changed for fatal_error().
1692         (putbits): changed for fatal_error().
1693         (fwrite_crc): ditto.
1694         (putc_euc): should return EOF when putc() cause error.
1695         (fwrite_txt): changed for putc_euc().
1696
1697         * src/header.c (get_header): changed for fatal_error(), warning() and error().
1698         (init_header): use xsnprintf().
1699         (write_header): fixed wrong usage of fwrite().
1700
1701         * src/lha.h: updated declarations.
1702
1703         * src/lhadd.c (append_it): changed for error().
1704
1705         * src/lhext.c (inquire_extract): ditto.
1706
1707         * src/lhlist.c (cmd_list): ditto.
1708
1709         * src/maketbl.c (make_table): ditto.
1710
1711         * src/util.c (copyfile): changed for fatal_error().
1712         (xsnprintf): newly added to adopt to various snprintf().
1713
1714 2002-06-12  Koji Arai  <jca02266@nifty.ne.jp>
1715
1716         * src/lha_macro.h (UNIX_STICKYBIT): fixed a misspelling.
1717
1718         * src/lhlist.c (list_one): ditto.
1719
1720 2002-06-11  Koji Arai  <jca02266@nifty.ne.jp>
1721
1722         * src/lharc.c: index was wrong.
1723           reported on LHa BBS (see <http://www2m.biglobe.ne.jp/~dolphin/>).
1724
1725 2002-06-06  Koji Arai  <jca02266@nifty.ne.jp>
1726
1727         * configure.ac, configure.in: changed macro name.
1728         not multibyte-char but multibyte-filename.
1729         not MULTIBYTE_CHAR but MULTIBYTE_FILENAME.
1730
1731         * 00readme.autoconf: ditto.
1732
1733         * config.h.in: ditto.
1734
1735         * src/util.c: ditto.
1736
1737         * src/lha_macro.h: ditto.
1738
1739         * src/header.c: ditto.
1740
1741         * config.h.in (INCLUDE_OWNER_NAME_IN_HEADER): changed macro name.
1742
1743         * configure.ac: ditto.
1744
1745         * src/header.c (init_header): ditto.
1746
1747         * src/header.c (init_header): should clear LzHeader.
1748
1749 2002-06-05  Koji Arai  <jca02266@nifty.ne.jp>
1750
1751         * released.
1752
1753         * configure.ac (AC_INIT): changed package name and specified tar name.
1754
1755         * src/lharc.c: added `--help' command line switch.
1756
1757         * Makefile.am: fixed EXTRA_DIST for 00readme.autoconf renaming.
1758
1759         * README.autoconf, 00readme.autoconf: renamed.
1760
1761         * configure.ac, configure.in: updated version.
1762
1763 2002-06-04  Koji Arai  <jca02266@nifty.ne.jp>
1764
1765         * README.autoconf, header.doc.euc: describe about user/group name
1766         header.
1767
1768         * src/header.c (init_header): added a macro MAKE_USER_NAME_HEADER.
1769
1770         * configure.ac, configure.in, config.h.in: added a switch
1771         `--enable-user-name-header' whether user/name extended header is
1772         made.
1773
1774 2002-06-01  Koji Arai  <jca02266@nifty.ne.jp>
1775
1776         * README.autoconf: `-i' switch of automake is deprecated.
1777
1778 2002-05-29  Koji Arai  <jca02266@nifty.ne.jp>
1779
1780         * configure.in, configure.ac, config.h.in: checks having uid_t/gid_t.
1781
1782         * src/lha.h: define uid_t/gid_t as `int' if no have it.
1783
1784         * src/lhext.c (adjust_info): mismatched braces.
1785
1786         * header.doc.euc: around user/group name extention.
1787
1788         * configure.in, configure.ac, config.h.in: checks having
1789         getpwuid/getgrgid and so on.
1790
1791         * src/header.c (get_header): use the extend header, user/group name.
1792         (init_header): ditto.
1793
1794         * src/lha.h: added <pwd.h>, <grp.h> header includings.
1795
1796         * src/lhext.c (adjust_info): change owner/group according to
1797         user/group name when extracting.
1798
1799         * src/lhlist.c (list_one): print user/group name when the header
1800         has them.
1801         (list_one): correct column position on OS68K.
1802
1803         * tests/lha-test.in: added timestamp checks.
1804
1805         * src/lha_macro.h: comment about OS code.
1806
1807 2002-05-28  Koji Arai  <jca02266@nifty.ne.jp>
1808
1809         * src/lharc.c (xstrdup): no need to call fatal_error().
1810
1811         * src/lhdir.h, src/lha_macro.h, src/lha.h: added modeline for vi(m).
1812
1813         * configure.ac, config.h.in: use new autoconf macro, AC_CHECK_MEMBERS().
1814
1815         * IFNAMES, configure.in, src/header.c, src/lharc.c: replaced with
1816         new macro name to adopt to the AC_CHECK_MEMBERS().
1817
1818 2002-05-27  Koji Arai  <jca02266@nifty.ne.jp>
1819
1820         * tests/lha-test.in: use awk instead of GNU sh-utils's `seq'.
1821
1822         * src/header.c (filename_conv): fix a bug, reverse condition and
1823         conversion for filename case.
1824
1825         * README.autoconf: added description about `get_filename_from_stdin' feature.
1826
1827         * tests/lha-test.in: remove test around the `get_filename_from_stdin'.
1828
1829         * src/lharc.c (main): never set `get_filename_from_stdin` to true.
1830         `echo foo | lha x foo.lzh' does not work like original LHa for UNIX.
1831
1832         * tests/lha-test.in: replace with #!/bin/bash.
1833
1834         * README.autoconf: added E-Mail address.
1835
1836         * configure.ac: updated version and added mail address for bug reports.
1837
1838         * configure.in: updated version.
1839
1840         * released.
1841
1842         * README.autoconf: added `make check' on sample description.
1843
1844         * configure.in, configure.ac: update version.
1845
1846 2002-05-26  Koji Arai  <jca02266@nifty.ne.jp>
1847
1848         * tests/lha-test.in: added some tests.
1849
1850         * tests/Makefile.am: refined.
1851
1852         * src/lhext.c (cmd_extract): discard useless fseek() calling (for MinGW).
1853
1854         * tests/lha-test.in: added some tests.
1855
1856         * tests/lha-test.in: specified `q' option on print archive test.
1857
1858         * src/lhadd.c (build_backup_file): On MinGW, cannot rename when
1859         a new file already exists.
1860
1861         * src/lhext.c (extract_one): On MinGW, set binary on stdout when
1862         print archive (`p' switch).
1863
1864         * tests/lha-test.in: added some tests.
1865
1866         * src/lhadd.c (report_archive_name_if_different): warning messages
1867         should be printed to stderr rather than stdout.
1868         (cmd_delete): ditto.
1869
1870         * tests/Makefile.am: fix EXTRA_DIST.
1871
1872         * configure.in, configure.ac: update version.
1873
1874         * tests/lha-test.in: added tests.
1875
1876         * tests/Makefile.am: ditto.
1877
1878         * configure.in, configure.ac, Makefile.am: ditto.
1879
1880 2002-05-25  Koji Arai  <jca02266@nifty.ne.jp>
1881
1882         * IFNAMES: updated.
1883
1884         * released.
1885
1886         * README.autoconf: added description for developpers.
1887
1888         * configure.in, configure.ac, config.h.in: refined.
1889
1890         * src/util.c (memmove): use HAVE_MEMMOVE.
1891         (mkdir): use HAVE_WORKING_FORK.
1892
1893         * src/huf.c: use HAVE_SYS_PARAM_H instead of sony_news.
1894
1895         * IFNAMES (sony_news): updated.
1896
1897         * configure.ac, configure.in (AC_INIT): added autoconfiscated date.
1898         see `lha --version'.
1899
1900 2002-05-22  Koji Arai  <jca02266@nifty.ne.jp>
1901
1902         * 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:
1903         added modeline for vi(m).
1904
1905         * src/lharc.c: backslash was missing.
1906
1907 2002-05-20  Koji Arai  <jca02266@nifty.ne.jp>
1908
1909         * src/lharc.c (open_old_archive):  On MinGW, set binary stdin.
1910
1911         * src/lhadd.c (temporary_to_new_archive_file): On MinGW, set binary stdout.
1912
1913         * src/lha_macro.h: no define TMP_FILENAME_TEMPLATE in source.
1914
1915         * configure.ac, configure.in, README.autoconf: be able to specify
1916         --with-tmp-file=no which meaning TMP_FILENAME_TEMPLATE is undefined.
1917
1918         * src/lha.h: correct usage of mkstemp().
1919         On MinGW, opening file cannot be removed.
1920
1921         * src/lhadd.c (build_temporary_file): ditto.
1922
1923         * src/lharc.c (fatal_error): ditto.
1924
1925 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
1926
1927         * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
1928         no use AM_C_PROTOTYPES for the present.
1929
1930         * config.h.in: ditto.
1931
1932         * src/lharc.c (print_tiny_usage_and_exit): change credit.
1933
1934         * src/lha_macro.h: put PLATFORM in a macro LHA_VERSION.
1935
1936         * src/lharc.c (print_version): ditto.
1937
1938         * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
1939
1940 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
1941
1942         * released.
1943
1944         * src/lharc.c (print_tiny_usage_and_exit): added credit.
1945         (print_version): print PLATFORM.
1946
1947         * configure.ac, configure.in, config.h.in: define PLATFORM.
1948
1949         * src/lharc.c (xstrdup): fix typo.
1950
1951         * configure.ac: added for autoconf-2.53.
1952
1953         * config.h.in: regenerate by autoconf-2.53.
1954
1955         * src/lharc.c (find_files): MinGW has st_ino but always 0.
1956
1957         * src/lharc.c (main): provisionally fix. set
1958         `get_filename_from_stdin' to false.
1959
1960         * src/util.c (rename): use builtin rename(2) on mingw32 (since have
1961         no link(2)).
1962
1963         * src/lharc.c (main): use xrealloc().
1964
1965         * src/lha_macro.h: specify "b" modifier always (for mingw32).
1966
1967         * src/lharc.c: use xstrdup() instead of strdup().
1968
1969         * src/lha_macro.h: ditto.
1970
1971         * src/lha_macro.h: getuid(), chown(), kill() are provisionally
1972         defined as 0.
1973
1974         * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
1975
1976         * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
1977         (build_backup_file): ditto.
1978
1979         * src/lharc.c (interrupt): ditto.
1980
1981         * src/lhext.c (extract_one): ditto.
1982
1983         * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
1984         mingw32.
1985
1986 2002-05-18  Koji Arai  <jca02266@nifty.ne.jp>
1987
1988         * lha_macro.h: define bcmp(), bzero(), bcopy() even if
1989         STDC_HEADERS is defined.
1990
1991         * huf.c (alloc_buf): call fatal_error() when memory allocation failed
1992         instead of returning NULL.
1993
1994         * lharc.c (main): use xmalloc().
1995
1996         * util.c (copyfile): use xmalloc().
1997
1998         * slide.c (encode_alloc): use xmalloc().
1999
2000         * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as
2001         default kanji code.
2002
2003 2001-02-03  Koji Arai  <jca02266@nifty.ne.jp>
2004
2005         * README.autoconf, src/header.c: treat archive and system kanji
2006         code, correctly.
2007
2008 2001-01-31  Koji Arai  <jca02266@nifty.ne.jp>
2009
2010         * configure.in: mistakes for default archive method.
2011
2012         * src/header.c: directory separator 0xff must be transpose slash
2013         at first.
2014
2015 2001-01-29  Koji Arai  <jca02266@nifty.ne.jp>
2016
2017         * src/lharc.c: replace MKSTEMP with HAVE_MKSTEMP.
2018         substitute DEFAULT_LZHUFF_METHOD for the `compress_method' variable (it's default value).
2019
2020         * src/lha_macro.h: use the VERSION macro (defined by configure) for
2021         the LHA_VERSION definition.
2022
2023         * src/header.c: added condition whether the macro MULTIBYTE_CHAR
2024         is defined or not.
2025
2026         * src/Makefile.am: added $(SUPPORT_LZHUFF_METHOD) in AM_CPPFLAGS.
2027
2028         * configure.in: change version number from 1.14f to 1.14i.
2029         check function mkstemp().
2030         replace --enable-lh6 option to --with-default-method=[567].
2031
2032         * config.h.in: added definitions of HAVE_MKSTEMP and
2033         DEFAULT_LZHUFF_METHOD.
2034
2035         * IFNAMES: added a description about MKSTEMP.
2036
2037         * Makefile.am: added extra files.
2038
2039         * 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:
2040         merged changing from lha-1.14f to lha-1.14i.
2041
2042         * change-114i.txt, src/header.c, src/huf.c, src/lha.h, src/lharc.c:
2043         import lha-114i
2044
2045         * src/huf.c, src/lharc.c, src/shuf.c, src/slide.c: import lha-114h
2046
2047         * Makefile, README.euc, change-114g.txt, change-114h.txt:
2048         import lha-114h
2049
2050         * 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:
2051         import lha-114g
2052
2053         * 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:
2054         import lha-114g
2055
2056         * src/header.c, src/lha_macro.h: implemented kanji code conversion
2057         on filename.
2058
2059         * src/header.c: fix bug in euc2sjis().
2060
2061 1999-10-05  Koji Arai  <jca02266@nifty.ne.jp>
2062
2063         * src/header.c: rename the macro HANKAKU_KATAKANA_P to the X0201_KANA_P
2064
2065 1999-09-30  Koji Arai  <jca02266@nifty.ne.jp>
2066
2067         * 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:
2068         use the autoconf/automake
2069
2070 1999-08-28  Koji Arai  <jca02266@nifty.ne.jp>
2071
2072         * Makefile: import the lha-114f
2073
2074         * change-114f.txt, config.jpn.euc, header.doc.euc: import the lha-114f
2075
2076         * CHANGES.euc, MACHINES.euc, PROBLEMS.euc, README.euc, change-114e.txt, config.eng:
2077         import the lha-114f
2078
2079         * MACHINES2.euc, man/Makefile, man/lha.man, man/lha.n:
2080         import the lha-114f
2081
2082         * src/append.c, src/crcio.c: import the lha-114f
2083
2084         * 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:
2085         import the lha-114f
2086
2087         * src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c:
2088         import the lha-114f
2089
2090 Local Variables:
2091 eval: (if (string= (user-login-name) "arai") (setq user-mail-address "arai@users.sourceforge.jp"))
2092 End: