OSDN Git Service

*** empty log message ***
[lha/lha.git] / ChangeLog
1 2002-05-22  Koji Arai  <jca02266@nifty.ne.jp>
2
3         * src/append.c, src/crcio.c, src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c, src/lharc.c, src/lhdir.c, src/lhext.c, src/lhlist.c, src/maketbl.c, src/maketree.c, src/patmatch.c, src/shuf.c, src/slide.c, src/util.c:
4         added modeline for vi(m).
5
6         * src/lharc.c: backslash was missing.
7
8 2002-05-20  Koji Arai  <arai@fgsd.mt.nec.co.jp>
9
10         * src/lharc.c (open_old_archive):  On MinGW, set binary stdin.
11
12         * src/lhadd.c (temporary_to_new_archive_file): On MinGW, set binary stdout.
13
14         * src/lha_macro.h: no define TMP_FILENAME_TEMPLATE in source.
15
16         * configure.ac, configure.in, README.autoconf: be able to specify
17         --with-tmp-file=no which meaning TMP_FILENAME_TEMPLATE is undefined.
18
19         * src/lha.h: correct usage of mkstemp().
20         On MinGW, opening file cannot be removed.
21
22         * src/lhadd.c (build_temporary_file): ditto.
23
24         * src/lharc.c (fatal_error): ditto.
25
26 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
27
28         * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
29         no use AM_C_PROTOTYPES for the present.
30
31         * config.h.in: ditto.
32
33         * src/lharc.c (print_tiny_usage_and_exit): change credit.
34
35         * src/lha_macro.h: put PLATFORM in a macro LHA_VERSION.
36
37         * src/lharc.c (print_version): ditto.
38
39         * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
40
41 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
42
43         * released.
44
45         * src/lharc.c (print_tiny_usage_and_exit): added credit.
46         (print_version): print PLATFORM.
47
48         * configure.ac, configure.in, config.h.in: define PLATFORM.
49
50         * src/lharc.c (xstrdup): fix typo.
51
52         * configure.ac: added for autoconf-2.53.
53
54         * config.h.in: regenerate by autoconf-2.53.
55
56         * src/lharc.c (find_files): MinGW has st_ino but always 0.
57
58         * src/lharc.c (main): provisionally fix. set
59         `get_filename_from_stdin' to false.
60
61         * src/util.c (rename): use builtin rename on mingw32 (since have
62         no link(2)).
63
64         * src/lharc.c (main): use xrealloc().
65
66         * src/lha_macro.h: specify "b" modifier always (for mingw32).
67
68         * src/lharc.c: use xstrdup() instead of strdup().
69
70         * src/lha_macro.h: ditto.
71
72         * src/lha_macro.h: getuid(), chown(), kill() are provisionally
73         defined as 0.
74
75         * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
76
77         * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
78         (build_backup_file): ditto.
79
80         * src/lharc.c (interrupt): ditto.
81
82         * src/lhext.c (extract_one): ditto.
83
84         * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
85         mingw32.
86
87 2002-05-18  Koji Arai  <jca02266@nifty.ne.jp>
88
89         * lha_macro.h: define bcmp(), bzero(), bcopy() even if
90         STDC_HEADERS is defined.
91
92         * huf.c (alloc_buf): call fatal_error() when memory allocation failed
93         instead of returning NULL.
94
95         * lharc.c (main): use xmalloc().
96
97         * util.c (copyfile): use xmalloc().
98
99         * slide.c (encode_alloc): use xmalloc().
100
101         * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as
102         default kanji code.