OSDN Git Service

* src/lhext.c (extract_one): On MinGW, set binary on stdout when
[lha/lha.git] / ChangeLog
1 2002-05-26  Koji Arai  <jca02266@nifty.ne.jp>
2
3         * tests/lha-test.in: added some tests.
4
5         * src/lhadd.c (report_archive_name_if_different): warning messages
6         should be printed to stderr rather than stdout.
7         (cmd_delete): ditto.
8
9         * tests/Makefile.am: fix EXTRA_DIST.
10
11         * configure.in, configure.ac: update version.
12
13         * tests/lha-test.in: added tests.
14
15         * tests/Makefile.am: ditto.
16
17         * configure.in, configure.ac, Makefile.am: ditto.
18
19 2002-05-25  Koji Arai  <jca02266@nifty.ne.jp>
20
21         * IFNAMES: updated.
22
23         * released.
24
25         * README.autoconf: added description for developpers.
26
27         * configure.in, configure.ac, config.h.in: refined.
28
29         * src/util.c (memmove): use HAVE_MEMMOVE.
30         (mkdir): use HAVE_WORKING_FORK.
31
32         * src/huf.c: use HAVE_SYS_PARAM_H instead of sony_news.
33
34         * IFNAMES (sony_news): updated.
35
36         * configure.ac, configure.in (AC_INIT): added autoconfiscated date.
37         show `lha --version'.
38
39 2002-05-22  Koji Arai  <jca02266@nifty.ne.jp>
40
41         * 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:
42         added modeline for vi(m).
43
44         * src/lharc.c: backslash was missing.
45
46 2002-05-20  Koji Arai  <jca02266@nifty.ne.jp>
47
48         * src/lharc.c (open_old_archive):  On MinGW, set binary stdin.
49
50         * src/lhadd.c (temporary_to_new_archive_file): On MinGW, set binary stdout.
51
52         * src/lha_macro.h: no define TMP_FILENAME_TEMPLATE in source.
53
54         * configure.ac, configure.in, README.autoconf: be able to specify
55         --with-tmp-file=no which meaning TMP_FILENAME_TEMPLATE is undefined.
56
57         * src/lha.h: correct usage of mkstemp().
58         On MinGW, opening file cannot be removed.
59
60         * src/lhadd.c (build_temporary_file): ditto.
61
62         * src/lharc.c (fatal_error): ditto.
63
64 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
65
66         * configure.in, configure.ac: added AM_C_PROTOTYPES, AC_C_CONST.
67         no use AM_C_PROTOTYPES for the present.
68
69         * config.h.in: ditto.
70
71         * src/lharc.c (print_tiny_usage_and_exit): change credit.
72
73         * src/lha_macro.h: put PLATFORM in a macro LHA_VERSION.
74
75         * src/lharc.c (print_version): ditto.
76
77         * configure.ac: use AC_CANONICAL_TARGET instead of AC_CANONICAL_HOST.
78
79 2002-05-19  Koji Arai  <jca02266@nifty.ne.jp>
80
81         * released.
82
83         * src/lharc.c (print_tiny_usage_and_exit): added credit.
84         (print_version): print PLATFORM.
85
86         * configure.ac, configure.in, config.h.in: define PLATFORM.
87
88         * src/lharc.c (xstrdup): fix typo.
89
90         * configure.ac: added for autoconf-2.53.
91
92         * config.h.in: regenerate by autoconf-2.53.
93
94         * src/lharc.c (find_files): MinGW has st_ino but always 0.
95
96         * src/lharc.c (main): provisionally fix. set
97         `get_filename_from_stdin' to false.
98
99         * src/util.c (rename): use builtin rename on mingw32 (since have
100         no link(2)).
101
102         * src/lharc.c (main): use xrealloc().
103
104         * src/lha_macro.h: specify "b" modifier always (for mingw32).
105
106         * src/lharc.c: use xstrdup() instead of strdup().
107
108         * src/lha_macro.h: ditto.
109
110         * src/lha_macro.h: getuid(), chown(), kill() are provisionally
111         defined as 0.
112
113         * src/header.c: set `default_system_kanji_code' to Shift_JIS on mingw32.
114
115         * src/lhadd.c (build_temporary_file): no use SIGHUP for mingw32.
116         (build_backup_file): ditto.
117
118         * src/lharc.c (interrupt): ditto.
119
120         * src/lhext.c (extract_one): ditto.
121
122         * src/lhext.c (make_parent_path): mkdir() has no 2nd argument on
123         mingw32.
124
125 2002-05-18  Koji Arai  <jca02266@nifty.ne.jp>
126
127         * lha_macro.h: define bcmp(), bzero(), bcopy() even if
128         STDC_HEADERS is defined.
129
130         * huf.c (alloc_buf): call fatal_error() when memory allocation failed
131         instead of returning NULL.
132
133         * lharc.c (main): use xmalloc().
134
135         * util.c (copyfile): use xmalloc().
136
137         * slide.c (encode_alloc): use xmalloc().
138
139         * header.c (default_system_kanji_code): On HP-UX, use Shift_JIS as
140         default kanji code.
141
142 2001-02-03  Koji Arai  <jca02266@nifty.ne.jp>
143
144         * README.autoconf, src/header.c: treat archive and system kanji
145         code, correctly.
146
147 2001-01-31  Koji Arai  <jca02266@nifty.ne.jp>
148
149         * configure.in: mistakes for default archive method.
150
151         * src/header.c: directory separator 0xff must be transpose slash
152         at first.
153
154 2001-01-29  Koji Arai  <jca02266@nifty.ne.jp>
155
156         * src/lharc.c: replace MKSTEMP with HAVE_MKSTEMP.
157         substitute DEFAULT_LZHUFF_METHOD for the `compress_method' variable (it's default value).
158
159         * src/lha_macro.h: use the VERSION macro (defined by configure) for
160         the LHA_VERSION definition.
161
162         * src/header.c: added condition whether the macro MULTIBYTE_CHAR
163         is defined or not.
164
165         * src/Makefile.am: added $(SUPPORT_LZHUFF_METHOD) in AM_CPPFLAGS.
166
167         * configure.in: change version number from 1.14f to 1.14i.
168         check function mkstemp().
169         replace --enable-lh6 option to --with-default-method=[567].
170
171         * config.h.in: added definitions of HAVE_MKSTEMP and
172         DEFAULT_LZHUFF_METHOD.
173
174         * IFNAMES: added a description about MKSTEMP.
175
176         * Makefile.am: added extra files.
177
178         * 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:
179         merged changing from lha-1.14f to lha-1.14i.
180
181         * change-114i.txt, src/header.c, src/huf.c, src/lha.h, src/lharc.c:
182         import lha-114i
183
184         * src/huf.c, src/lharc.c, src/shuf.c, src/slide.c: import lha-114h
185
186         * Makefile, README.euc, change-114g.txt, change-114h.txt:
187         import lha-114h
188
189         * 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:
190         import lha-114g
191
192         * 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:
193         import lha-114g
194
195         * src/header.c, src/lha_macro.h: implemented kanji code conversion
196         on filename.
197
198         * src/header.c: fix bug in euc2sjis().
199
200 1999-10-05  Koji Arai  <jca02266@nifty.ne.jp>
201
202         * src/header.c: rename the macro HANKAKU_KATAKANA_P to the X0201_KANA_P
203
204 1999-09-30  Koji Arai  <jca02266@nifty.ne.jp>
205
206         * 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:
207         use the autoconf/automake
208
209 1999-08-28  Koji Arai  <jca02266@nifty.ne.jp>
210
211         * Makefile: import the lha-114f
212
213         * change-114f.txt, config.jpn.euc, header.doc.euc: import the lha-114f
214
215         * CHANGES.euc, MACHINES.euc, PROBLEMS.euc, README.euc, change-114e.txt, config.eng:
216         import the lha-114f
217
218         * MACHINES2.euc, man/Makefile, man/lha.man, man/lha.n:
219         import the lha-114f
220
221         * src/append.c, src/crcio.c: import the lha-114f
222
223         * 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:
224         import the lha-114f
225
226         * src/dhuf.c, src/extract.c, src/header.c, src/huf.c, src/larc.c, src/lhadd.c:
227         import the lha-114f