1 | 2006-09-27 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
2 |
|
---|
3 | * TODO: Update
|
---|
4 | * README-alpha: Update
|
---|
5 | * bootstrap: Imported from tar
|
---|
6 | * configure.ac: Require autoconf 2.59 and gettext 1.15
|
---|
7 | * gnulib.modules: add inttypes
|
---|
8 | * doc/cpio.texi: Minor fixes
|
---|
9 | * po/Makevars: Remove automatically generated file
|
---|
10 | * po/.cvsignore: Add Makevars
|
---|
11 | * lib/.cvsignore: Update
|
---|
12 | * src/copyin.c, src/copyout.c, src/copypass.c, src/cpio.h,
|
---|
13 | src/cpiohdr.h, src/defer.c, src/defer.h, src/extern.h,
|
---|
14 | src/global.c, src/main.c, src/makepath.c, src/tar.c,
|
---|
15 | src/util.c: Update copyright year.
|
---|
16 |
|
---|
17 | 2006-07-04 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
18 |
|
---|
19 | * bootstrap (update_po): Fix single translation update
|
---|
20 | * lib/Makefile.tmpl: Initialize AM_CPPFLAGS
|
---|
21 | (noinst_HEADERS): Add system-ioctl.h
|
---|
22 |
|
---|
23 | Start rewriting using a better suited internal representation for
|
---|
24 | the file meta-data.
|
---|
25 |
|
---|
26 | * src/cpiohdr.h (struct old_cpio_header): Remove unused fields
|
---|
27 | c_mtime, c_filesize and c_name.
|
---|
28 | (struct old_ascii_header): New data type
|
---|
29 | (struct new_ascii_header): New data type. Describes the header
|
---|
30 | structure, not its internal representation.
|
---|
31 | (struct cpio_file_stat): New data type. Describes internal
|
---|
32 | representation of a file metadata
|
---|
33 |
|
---|
34 | * src/copyin.c (from_ascii): New function
|
---|
35 | Use cpio_file_stat for internal header representation.
|
---|
36 | * src/copyout.c: Use cpio_file_stat for internal header
|
---|
37 | representation. Among other things this fixes bug reported by
|
---|
38 | Peter Vrabec on Mar 2, 2006
|
---|
39 | (http://lists.gnu.org/archive/html/bug-cpio/2006-03/msg00000.html)
|
---|
40 | * src/copypass.c: Use cpio_file_stat for internal header
|
---|
41 | representation.
|
---|
42 | * src/tar.c: Likewise
|
---|
43 | * src/util.c: Likewise
|
---|
44 | * src/defer.c: Likewise
|
---|
45 | * src/defer.h: Likewise
|
---|
46 | * src/extern.h: Likewise
|
---|
47 | (from_ascii): New prototype
|
---|
48 | (LG_8,LG_16,FROM_OCTAL,FROM_HEX): New defines
|
---|
49 | * src/main.c: New command line option --HANG (hidden)
|
---|
50 |
|
---|
51 | 2006-03-12 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
52 |
|
---|
53 | * tests/Makefile.am (AM_CPPFLAGS): Define LOCALEDIR
|
---|
54 |
|
---|
55 | 2006-02-18 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
56 |
|
---|
57 | * gnulib.modules: Add stpcpy. Thanks Benigno B. Junior for
|
---|
58 | reporting.
|
---|
59 | * THANKS: Add Benigno B. Junior
|
---|
60 | * src/makepath.c: Fix indentation.
|
---|
61 |
|
---|
62 | 2005-11-16 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
63 |
|
---|
64 | * src/copyout.c (process_copy_out): Fix typo.
|
---|
65 |
|
---|
66 | 2005-11-12 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
67 |
|
---|
68 | * bootstrap: Minor fix
|
---|
69 | * src/copyout.c (write_out_header): Rewritten using separate
|
---|
70 | functions for each file format. Use to_ascii to convert numbers to
|
---|
71 | ascii representation. Check for overflows and report them if
|
---|
72 | appropriate. Return 0 if it is OK to proceed with archiving this
|
---|
73 | file, 1 otherwise. All callers updated.
|
---|
74 | * src/extern.h (write_out_header): Return int.
|
---|
75 |
|
---|
76 | 2005-10-28 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
77 |
|
---|
78 | * src/util.c: Include paxlib.
|
---|
79 | * bootstrap: If file `.bootstrap' exists in the cwd and is
|
---|
80 | readable, prepend its contents to the command line.
|
---|
81 |
|
---|
82 | Fix Debian bug 335580:
|
---|
83 |
|
---|
84 | * src/copyout.c (read_for_checksum,write_out_header): CRC is a
|
---|
85 | 32-bit unsigned value. Patch proposed by Jim Castleberry and
|
---|
86 | Peter Vrabec.
|
---|
87 | * src/extern.h (crc): Change declaration
|
---|
88 | * src/global.c: Likewise
|
---|
89 | * src/tar.c (tar_checksum): Return unsigned int
|
---|
90 |
|
---|
91 | * THANKS: Add Jim Castleberry
|
---|
92 | * NEWS: Updated
|
---|
93 |
|
---|
94 | 2005-09-30 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
95 |
|
---|
96 | * src/copyout.c (process_copy_out): Discern between original and
|
---|
97 | (eventually fixed) file name (in tar terminology, `file name'
|
---|
98 | vs. `member name'.
|
---|
99 |
|
---|
100 | 2005-09-08 Sergey Poznyakoff <gray@gnu.org.ua>
|
---|
101 |
|
---|
102 | * gnulib.modules: Add utimens
|
---|
103 | * src/util.c (cpio_safer_name_suffix): Preserve ./ no matter what
|
---|
104 | the value of strip_leading_dots is.
|
---|
105 | (set_file_times): New function
|
---|
106 | * src/extern.h (set_file_times): New function
|
---|
107 | * src/copyin.c: Use set_file_times() to update file atime/mtime
|
---|
108 | * src/copyout.c: Likewise.
|
---|
109 | * src/copypass.c: Likewise.
|
---|
110 |
|
---|
111 | 2005-05-25 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
112 |
|
---|
113 | * src/copyin.c: Use cpio_safer_name_suffix() and CPIO_TRAILER_NAME
|
---|
114 | define instead of hardcoding the trailer file name.
|
---|
115 | * src/copyout.c: Likewise.
|
---|
116 | * src/cpio.h (CPIO_TRAILER_NAME): New define
|
---|
117 | * src/extern.h (cpio_safer_name_suffix): New proto
|
---|
118 | * src/tar.c: Use CPIO_TRAILER_NAME define instead of hardcoding
|
---|
119 | the trailer file name.
|
---|
120 | * src/util.c (cpio_safer_name_suffix): New function
|
---|
121 | (add_cdf_double_slashes): Add FIXME warning.
|
---|
122 |
|
---|
123 | * lib/fatal.c: New file
|
---|
124 | * lib/Makefile.tmpl (libcpio_a_SOURCES): Add fatal.c
|
---|
125 | * src/copyout.c: Use error reporting functions from paxlib
|
---|
126 | * src/makepath.c: Likewise
|
---|
127 | * src/mt.c: Likewise
|
---|
128 | * src/main.c (fatal_exit): Moved to lib/fatal.c
|
---|
129 |
|
---|
130 | 2005-05-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
131 |
|
---|
132 | * src/copyin.c (process_copy_in): Use safer_name_suffix no matter
|
---|
133 | what the value of no_abs_paths_flag. The function knows better
|
---|
134 | what to do in any case.
|
---|
135 | * src/copyout.c (process_copy_out): Honor no_abs_paths_flag.
|
---|
136 | * src/main.c (options): Minor fixes.
|
---|
137 |
|
---|
138 | 2005-05-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
139 |
|
---|
140 | * bootstrap (copy_files): Create destination directory if it does
|
---|
141 | not exist.
|
---|
142 | Preserve longlong.m4 as longlong_gl.m4
|
---|
143 | * src/main.c: Include paxlib.h
|
---|
144 |
|
---|
145 | 2005-05-22 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
146 |
|
---|
147 | * lib/.cvsignore: Updated
|
---|
148 | * gnulib.modules: Add hash
|
---|
149 | * doc/cpio.texi (Reports): New chapter
|
---|
150 | * lib/Makefile.tmpl: Add new paxutils files.
|
---|
151 | * po/POTFILES.in: Likewise
|
---|
152 | * src/copyin.c [!HAVE_LCHOWN] (lchown): Define to 0 to avoid
|
---|
153 | changing ownership of the target file.
|
---|
154 | (process_copy_in): Use safer_name_suffix()
|
---|
155 | * src/main.c (parse_opt): Handle new --absolute-filenames option.
|
---|
156 | (process_args): Updated
|
---|
157 | * src/util.c: Rewrite inode lookup/insertion functions using hash
|
---|
158 | module.
|
---|
159 |
|
---|
160 | u2005-05-20 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
161 |
|
---|
162 | * configure.ac: Raised version number to 2.6.90
|
---|
163 | * NEWS: Updated
|
---|
164 | * src/copyin.c: Use set_perms.
|
---|
165 | * src/copypass.c: Likewise.
|
---|
166 | * src/copyout.c (process_copy_out): Use stat_to_cpio() to convert
|
---|
167 | struct stat to struct new_cpio_header.
|
---|
168 | * src/defer.h: Remove legacy P_() stuff.
|
---|
169 | * src/dstring.c: Likewise
|
---|
170 | * src/extern.h: Likewise
|
---|
171 | * src/util.c (stat_to_cpio,set_perms): New functions
|
---|
172 | * doc/.cvsignore: Updated
|
---|
173 | * lib/.cvsignore: Updated
|
---|
174 | * tests/.cvsignore: Updated
|
---|
175 | * .cvsignore: Updated
|
---|
176 | * COPYING: Added to the repository
|
---|
177 |
|
---|
178 | 2005-05-19 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
179 |
|
---|
180 | * po/POTFILES.in: Add paxerror.c paxexit.c paxconvert.c
|
---|
181 |
|
---|
182 | * bootstrap (copy_files): Accept optional third argument: a prefix
|
---|
183 | to be appended to destination file names.
|
---|
184 | Import paxutils/paxlib files.
|
---|
185 | * lib/Makefile.tmpl (libcpio_a_SOURCES): Add paxerror.c paxexit.c
|
---|
186 | paxconvert.c
|
---|
187 | * src/copyin.c: Use paxutils error reporting functions
|
---|
188 | * src/copyout.c: Likewise
|
---|
189 | * src/copypass.c: Likewise
|
---|
190 | * src/util.c: Likewise. Add missing includes
|
---|
191 | * src/main.c (USAGE_ERROR): Removed
|
---|
192 | (CHECK_USAGE,parse_opt,process_args): Use error() instead of USAGE_ERROR
|
---|
193 | (fatal_exit): New function
|
---|
194 | * src/tar.c (is_tar_filename_too_long): Removed unused variable
|
---|
195 |
|
---|
196 | * Makefile.am, configure.ac, doc/Makefile.am,
|
---|
197 | doc/cpio.texi, doc/gendocs_template, headers/Makefile.am,
|
---|
198 | headers/fnmatch.h, lib/Makefile.tmpl, lib/mkdir.c,
|
---|
199 | lib/strdup.c, lib/strerror.c, src/Makefile.am,
|
---|
200 | src/copyin.c, src/copyout.c, src/copypass.c, src/cpio.h,
|
---|
201 | src/cpiohdr.h, src/defer.c, src/defer.h, src/dstring.c,
|
---|
202 | src/dstring.h, src/extern.h, src/filemode.c,
|
---|
203 | src/filetypes.h, src/global.c, src/idcache.c,
|
---|
204 | src/main.c, src/makepath.c, src/mt.c, src/tar.c,
|
---|
205 | src/tar.h, src/tarhdr.h, src/userspec.c, src/util.c,
|
---|
206 | tests/Makefile.am, tests/inout.at, tests/testsuite.at,
|
---|
207 | tests/version.at: Updated FSF postal mail address.
|
---|
208 |
|
---|
209 | * bootstrap: Port recent changes from tar bootstrap.
|
---|
210 | * gnulib.modules: New file
|
---|
211 | * tests/Makefile.am (genfile_SOURCES,LDADD): Updated
|
---|
212 |
|
---|
213 | * THANKS: Updated
|
---|
214 | * configure.ac: Remove check for gethostname, it is never used.
|
---|
215 | Remove check for setsockopt, it is provided by paxutils.
|
---|
216 |
|
---|
217 | Fix LFS support issues. Proposed by Peter Vrabec and Dmitry V. Levin
|
---|
218 |
|
---|
219 | * src/extern.h (copy_files_tape_to_disk, copy_files_disk_to_tape,
|
---|
220 | copy_files_disk_to_disk): Change num_bytes argument type from
|
---|
221 | long to off_t.
|
---|
222 | * src/util.c (copy_files_tape_to_disk, copy_files_disk_to_tape,
|
---|
223 | copy_files_disk_to_disk, disk_fill_input_buffer,
|
---|
224 | write_nuls_to_file): Likewise.
|
---|
225 | (write_nuls_to_file, copy_files_disk_to_tape,
|
---|
226 | copy_files_disk_to_disk): Handle `off_t num_bytes' properly.
|
---|
227 |
|
---|
228 | * src/util.c (find_inode_file): Fix typos causing function to
|
---|
229 | occasionally miss inodes and, therefore, to copy out the same
|
---|
230 | (hard-linked) file several times to archive. Proposed by Brian
|
---|
231 | Mays.
|
---|
232 |
|
---|
233 | 2005-03-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
234 |
|
---|
235 | * src/main.c (process_args): Fixed discrepancy I have been
|
---|
236 | overlooking so far: cpio still does not handle --sparse option
|
---|
237 | the same way tar is handling it. --sparse is allowed in copy-in
|
---|
238 | and copy-pass modes, just as docs say it. Thanks Dmitry Levin.
|
---|
239 | * THANKS: Updated
|
---|
240 |
|
---|
241 | 2005-03-21 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
242 |
|
---|
243 | * src/util.c (disk_buffered_write): Fix typo introduced
|
---|
244 | 2005-01-11.
|
---|
245 | * src/main.c (process_args): Fixed error message
|
---|
246 |
|
---|
247 | 2005-01-31 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
248 |
|
---|
249 | * src/main.c (main): Remove umask(0). Fixes CAN-1999-1572.
|
---|
250 | [__TURBOC__,__EMX__]: Removed
|
---|
251 | * src/copypass.c (process_copy_pass): Set umask 0
|
---|
252 | * src/copyin.c (process_copy_in): Likewise
|
---|
253 | * src/util.c (open_archive): Use MODE_RW.
|
---|
254 |
|
---|
255 | 2005-01-11 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
256 |
|
---|
257 | * doc/gendocs_template: Template file for gendocs.sh.
|
---|
258 | * doc/Makefile.am: Use gendocs.sh to generate webdocs.
|
---|
259 | * doc/cpio.texi: Updated.
|
---|
260 |
|
---|
261 | * src/copyin.c: Use memset instead of bzero, memmove
|
---|
262 | (or memcpy, if appropriate), instead of bcopy, and
|
---|
263 | strchr/strrchr instead of index/rindex.
|
---|
264 | * src/copypass.c: Likewise.
|
---|
265 | * src/main.c: Likewise.
|
---|
266 | * src/makepath.c: Likewise.
|
---|
267 | * src/tar.c: Likewise.
|
---|
268 | * src/util.c: Likewise.
|
---|
269 | (write_nuls_to_file): Made extern. All callers updated
|
---|
270 |
|
---|
271 | * src/copyout.c: Likewise. Use write_nuls_to_file instead
|
---|
272 | of explicitely accessing zeros_512
|
---|
273 | * src/userspec.c: Likewise.
|
---|
274 | Rename isnumber to isnumber_p. Proposed by
|
---|
275 | Albert Chin
|
---|
276 | * src/extern.h (zeros_512): Removed
|
---|
277 | (write_nuls_to_file): New function
|
---|
278 | * src/global.c (zeros_512): Removed
|
---|
279 |
|
---|
280 | 2005-01-06 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
281 |
|
---|
282 | * bootstrap: Add 'fileblocks' gnulib module
|
---|
283 | Create paxutils.m4
|
---|
284 | * configure.ac: Call cpio_PAXUTILS
|
---|
285 | * src/main.c: Remove ifdef around setlocale
|
---|
286 | * src/mt.c: Likewise
|
---|
287 |
|
---|
288 | 2004-12-21 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
289 |
|
---|
290 | * configure.ac: New option --enable-mt
|
---|
291 | Check for locale.h
|
---|
292 | * doc/cpio.info: Removed
|
---|
293 | * src/mt.c (main): Use argmatch_invalid()
|
---|
294 |
|
---|
295 | 2004-12-20 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
296 |
|
---|
297 | Released version 2.6. Sources up to this point are tagged
|
---|
298 | release_2_6.
|
---|
299 |
|
---|
300 | * configure.ac: Raised version number to 2.6
|
---|
301 | * NEWS: Likewise
|
---|
302 | * bootstrap (update_po): Give -r to wget. Always remove index.html
|
---|
303 | Ignore alloca-opt module (it duplicates alloca)
|
---|
304 |
|
---|
305 | 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
306 |
|
---|
307 | * src/main.c (enum cpio_options): Bugfix: Initialize first enum
|
---|
308 | value to 256.
|
---|
309 | * bootstrap: Add unlocked-io
|
---|
310 | * headers/argp.h: Removed
|
---|
311 | * headers/getopt.h: Removed
|
---|
312 | * headers/Makefile.am: Updated
|
---|
313 |
|
---|
314 | 2004-10-14 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
315 |
|
---|
316 | * src/copyout.c: Add trailing slash to directory names in
|
---|
317 | ustar format.
|
---|
318 | * src/makepath.c: Removed redeclaration of error().
|
---|
319 | * src/tar.c: Fixed deviations from POSIX.1-1988:
|
---|
320 | Properly split long file names. Fill in octal fields with zeros,
|
---|
321 | not spaces. Save only protection modes, not the whole mode.
|
---|
322 |
|
---|
323 | * NEWS: Updated
|
---|
324 |
|
---|
325 | 2004-09-08 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
326 |
|
---|
327 | * NEWS: Updated
|
---|
328 | * TODO: Updated
|
---|
329 | * bootstrap: Install po files by default
|
---|
330 | * po/LINGUAS: Removed. File is generated automatically
|
---|
331 | * po/.cvsignore: Updated
|
---|
332 | * src/copyin.c: Implemented --to-stdout option
|
---|
333 | * src/copyout.c: Display the annoying 'truncating inode number'
|
---|
334 | message only if the user wishes it.
|
---|
335 | * src/extern.h: Added new globals.
|
---|
336 | * src/global.c: Likewise.
|
---|
337 |
|
---|
338 | * src/main.c: Added support for --to-stdout and --warning options
|
---|
339 | * src/tar.c (read_in_tar_header): Use warn_junk_bytes()
|
---|
340 | * src/util.c (create_all_directories): Use dir_name.
|
---|
341 |
|
---|
342 | * configure.ac: Added support for the test suite
|
---|
343 | * Makefile.am: Likewise
|
---|
344 |
|
---|
345 | * tests: New directory
|
---|
346 | * tests/.cvsignore: New file
|
---|
347 | * tests/Makefile.am: New file
|
---|
348 | * tests/testsuite.at: New file
|
---|
349 | * tests/inout.at: New file
|
---|
350 | * tests/version.at: New file
|
---|
351 | * tests/atlocal.in: New file
|
---|
352 |
|
---|
353 | 2004-09-07 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
354 |
|
---|
355 | * src/main.c (process_args): Bugfix. Allow extra arguments
|
---|
356 | in copy_in mode.
|
---|
357 | * src/util.c (write_nuls_to_file): Use buffered I/O. All
|
---|
358 | callers changed. Thanks Matthew Braithwaite <mab@cnet.com>
|
---|
359 | for noticing.
|
---|
360 | Bugfix: extra_bytes was mistakenly used instead of blocks.
|
---|
361 | * THANKS: Added Matthew Braithwaite.
|
---|
362 |
|
---|
363 | 2004-09-06 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
364 |
|
---|
365 | Started merging with tar into paxutils. Sources before
|
---|
366 | this point are tagged alpha-2_50_90.
|
---|
367 |
|
---|
368 | * bootstrap: New file
|
---|
369 | * autogen.sh: Removed
|
---|
370 | * Makefile.am: Updated
|
---|
371 | * NEWS: Updated
|
---|
372 | * README-alpha: Updated
|
---|
373 | * configure.ac: Updated
|
---|
374 | * doc/cpio.1: Updated
|
---|
375 | * po/POTFILES.in: Updated
|
---|
376 |
|
---|
377 | * src/Makefile.am: Updated
|
---|
378 | * src/error.c: Removed
|
---|
379 | * src/dirname.c: Likewise
|
---|
380 | * src/xmalloc.c: Likewise
|
---|
381 | * src/stripslash.c: Likewise
|
---|
382 | * src/xstrdup.c
|
---|
383 | * src/gettext.h: Likewise
|
---|
384 | * src/system.h: Likewise
|
---|
385 | * src/rmt.h: Likewise
|
---|
386 | * src/getopt.c: Likewise
|
---|
387 | * src/getopt1.c: Likewise
|
---|
388 | * src/bcopy.c: Likewise
|
---|
389 | * src/fnmatch.c: Likewise
|
---|
390 | * src/mkdir.c: Likewise
|
---|
391 | * src/strdup.c: Likewise
|
---|
392 | * src/argp-ba.c: Likewise
|
---|
393 | * src/argp-eexst.c: Likewise
|
---|
394 | * src/argp-fmtstream.c: Likewise
|
---|
395 | * src/argp-fs-xinl.c: Likewise
|
---|
396 | * src/argp-help.c: Likewise
|
---|
397 | * src/argp-parse.c: Likewise
|
---|
398 | * src/argp-pv.c: Likewise
|
---|
399 | * src/argp-pvh.c: Likewise
|
---|
400 | * src/argp-xinl.c: Likewise
|
---|
401 | * src/pin.c: Likewise
|
---|
402 | * src/alloca.c: Likewise
|
---|
403 | * src/argmatch.c: Likewise
|
---|
404 | * src/rmt.c: Likewise
|
---|
405 | * src/rtapelib.c: Likewise
|
---|
406 | * src/strerror.c: Likewise
|
---|
407 |
|
---|
408 | * src/copyin.c: Switched to ANSI C (sigh)
|
---|
409 | * src/copyout.c: Likewise
|
---|
410 | * src/copypass.c: Likewise
|
---|
411 | * src/defer.c: Likewise
|
---|
412 | * src/defer.h: Likewise
|
---|
413 | * src/dstring.c: Likewise
|
---|
414 | * src/dstring.h: Likewise
|
---|
415 | * src/extern.h: Likewise
|
---|
416 | * src/filemode.c: Likewise
|
---|
417 | * src/global.c: Likewise
|
---|
418 | * src/idcache.c: Likewise
|
---|
419 | * src/main.c: Likewise
|
---|
420 | * src/makepath.c: Likewise
|
---|
421 | * src/mt.c: Likewise
|
---|
422 | * src/tar.c: Likewise
|
---|
423 | * src/userspec.c: Likewise
|
---|
424 | * src/util.c: Likewise
|
---|
425 |
|
---|
426 | * lib: New directory
|
---|
427 | * lib/Makefile.tmpl: New file
|
---|
428 | * lib/bcopy.c: Moved from ../src
|
---|
429 | * lib/mkdir.c: Likewise.
|
---|
430 | * lib/strdup.c: Likewise.
|
---|
431 | * lib/strerror.c: Likewise.
|
---|
432 |
|
---|
433 | 2004-08-30 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
434 |
|
---|
435 | * Makefile.am: Added headers to SUBDIRS.
|
---|
436 | * configure.ac: Check for AC_SYS_LARGEFILE.
|
---|
437 | Use AC_CONFIG_LINKS to provide for fnmatch.h and getopt.h on
|
---|
438 | the systems where these are missing
|
---|
439 | Check for argp and replace it if necessary.
|
---|
440 | * src/Makefile.am: Updated
|
---|
441 | * src/fnmatch.h: Moved to headers/
|
---|
442 | * src/getopt.h: Likewise.
|
---|
443 | * src/main.c: Option parsing rewritten using argp. Improved
|
---|
444 | option consistency checking.
|
---|
445 | * src/rmt.c: Include getopt.h
|
---|
446 |
|
---|
447 | * src/argp-ba.c: New file
|
---|
448 | * src/argp-eexst.c: New file
|
---|
449 | * src/argp-fmtstream.c: New file
|
---|
450 | * src/argp-fs-xinl.c: New file
|
---|
451 | * src/argp-help.c: New file
|
---|
452 | * src/argp-parse.c: New file
|
---|
453 | * src/argp-pv.c: New file
|
---|
454 | * src/argp-pvh.c: New file
|
---|
455 | * src/argp-xinl.c: New file
|
---|
456 | * src/pin.c: New file
|
---|
457 |
|
---|
458 | * headers: New directory
|
---|
459 | * headers/Makefile.am: New file
|
---|
460 | * headers/getopt.h: New file
|
---|
461 | * headers/argp.h: New file
|
---|
462 | * headers/fnmatch.h: New file
|
---|
463 | * headers/.cvsignore: New file
|
---|
464 |
|
---|
465 | 2004-03-02 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
466 |
|
---|
467 | * src/util.c (copy_files_disk_to_disk): Bugfix. If a file
|
---|
468 | grew n bytes in copy-pass mode, these n bytes got prepended
|
---|
469 | to the contents of all subsequent files. Fix provided by
|
---|
470 | Holger Fleischmann <holger_fleischmann@mra.man.de>
|
---|
471 | * THANKS: Added Holger Fleischmann.
|
---|
472 |
|
---|
473 | 2004-02-27 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
474 |
|
---|
475 | * src/makepath.c: Remove unneded typedefs
|
---|
476 |
|
---|
477 | * src/copyin.c: Remove __MSDOS__ conditionals
|
---|
478 | * src/copyout.c: Likewise
|
---|
479 | * src/copypass.c: Likewise
|
---|
480 | * src/main.c: Likewise
|
---|
481 | * src/tar.c: Likewise
|
---|
482 | * src/util.c: Likewise
|
---|
483 |
|
---|
484 | 2004-02-27 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
485 |
|
---|
486 | Changed from flat to deep package layout. Added the framework
|
---|
487 | for NLS support.
|
---|
488 |
|
---|
489 | * .cvsignore: Updated
|
---|
490 | * Makefile.am: Updated
|
---|
491 | * configure.ac: Updated
|
---|
492 | * NEWS: Updated
|
---|
493 | * README-alpha: Updated
|
---|
494 | * THANKS: Updated
|
---|
495 |
|
---|
496 | * autogen.sh: New file
|
---|
497 |
|
---|
498 | * alloca.c: Moved to src
|
---|
499 | * argmatch.c: Likewise
|
---|
500 | * bcopy.c: Likewise
|
---|
501 | * dstring.h: Likewise
|
---|
502 | * copyin.c: Likewise
|
---|
503 | * copyout.c: Likewise
|
---|
504 | * copypass.c: Likewise
|
---|
505 | * cpio.h: Likewise
|
---|
506 | * cpiohdr.h: Likewise
|
---|
507 | * defer.c: Likewise
|
---|
508 | * defer.h: Likewise
|
---|
509 | * dirname.c: Likewise
|
---|
510 | * dstring.c: Likewise
|
---|
511 | * dstring.h: Likewise
|
---|
512 | * error.c: Likewise
|
---|
513 | * extern.h: Likewise
|
---|
514 | * filemode.c: Likewise
|
---|
515 | * filetypes.h: Likewise
|
---|
516 | * fnmatch.c: Likewise
|
---|
517 | * fnmatch.h: Likewise
|
---|
518 | * getopt.c: Likewise
|
---|
519 | * getopt.h: Likewise
|
---|
520 | * getopt1.c: Likewise
|
---|
521 | * global.c: Likewise
|
---|
522 | * idcache.c: Likewise
|
---|
523 | * main.c: Likewise
|
---|
524 | * makepath.c: Likewise
|
---|
525 | * mkdir.c: Likewise
|
---|
526 | * mt.c: Likewise
|
---|
527 | * rmt.c: Likewise
|
---|
528 | * rmt.h: Likewise
|
---|
529 | * rtapelib.c: Likewise
|
---|
530 | * safe-stat.h: Likewise
|
---|
531 | * strdup.c: Likewise
|
---|
532 | * strerror.c: Likewise
|
---|
533 | * stripslash.c: Likewise
|
---|
534 | * system.h: Likewise
|
---|
535 | * tar.c: Likewise
|
---|
536 | * tar.h: Likewise
|
---|
537 | * tarhdr.h: Likewise
|
---|
538 | * userspec.c: Likewise
|
---|
539 | * util.c: Likewise
|
---|
540 | * xmalloc.c: Likewise
|
---|
541 | * xstrdup.c: Likewise
|
---|
542 |
|
---|
543 | * cpio.1: Moved to doc
|
---|
544 | * cpio.texi: Likewise
|
---|
545 | * mt.1: Likewise
|
---|
546 |
|
---|
547 | * src: New directory
|
---|
548 | * src/.cvsignore: New file
|
---|
549 | * src/Makefile.am: Likewise
|
---|
550 | * src/alloca.c: Likewise
|
---|
551 | * src/argmatch.c: Likewise
|
---|
552 | * src/bcopy.c: Likewise
|
---|
553 | * src/copyin.c: Likewise
|
---|
554 | * src/copyout.c: Likewise
|
---|
555 | * src/copypass.c: Likewise
|
---|
556 | * src/cpio.h: Likewise
|
---|
557 | * src/cpiohdr.h: Likewise
|
---|
558 | * src/defer.c: Likewise
|
---|
559 | * src/defer.h: Likewise
|
---|
560 | * src/dirname.c: Likewise
|
---|
561 | * src/dstring.c: Likewise
|
---|
562 | * src/dstring.h: Likewise
|
---|
563 | * src/error.c: Likewise
|
---|
564 | * src/extern.h: Likewise
|
---|
565 | * src/filemode.c: Likewise
|
---|
566 | * src/filetypes.h: Likewise
|
---|
567 | * src/fnmatch.c: Likewise
|
---|
568 | * src/fnmatch.h: Likewise
|
---|
569 | * src/getopt.c: Likewise
|
---|
570 | * src/getopt.h: Likewise
|
---|
571 | * src/getopt1.c: Likewise
|
---|
572 | * src/gettext.h: Likewise
|
---|
573 | * src/global.c: Likewise
|
---|
574 | * src/idcache.c: Likewise
|
---|
575 | * src/main.c: Likewise
|
---|
576 | * src/makepath.c: Likewise
|
---|
577 | * src/mkdir.c: Likewise
|
---|
578 | * src/mt.c: Likewise
|
---|
579 | * src/rmt.c: Likewise
|
---|
580 | * src/rmt.h: Likewise
|
---|
581 | * src/rtapelib.c: Likewise
|
---|
582 | * src/safe-stat.h: Likewise
|
---|
583 | * src/strdup.c: Likewise
|
---|
584 | * src/strerror.c: Likewise
|
---|
585 | * src/stripslash.c: Likewise
|
---|
586 | * src/system.h: Likewise
|
---|
587 | * src/tar.c: Likewise
|
---|
588 | * src/tar.h: Likewise
|
---|
589 | * src/tarhdr.h: Likewise
|
---|
590 | * src/userspec.c: Likewise
|
---|
591 | * src/util.c: Likewise
|
---|
592 | * src/xmalloc.c: Likewise
|
---|
593 | * src/xstrdup.c: Likewise
|
---|
594 |
|
---|
595 | * doc: New directory
|
---|
596 | * doc/.cvsignore: New file
|
---|
597 | * doc/Makefile.am: New file
|
---|
598 | * doc/cpio.1: New file
|
---|
599 | * doc/cpio.info: New file
|
---|
600 | * doc/cpio.texi: New file
|
---|
601 | * doc/mt.1: New file
|
---|
602 |
|
---|
603 | * po: New directory
|
---|
604 | * po/.cvsignore: New file
|
---|
605 | * po/LINGUAS: New file
|
---|
606 | * po/Makevars: New file
|
---|
607 | * po/POTFILES.in: New file
|
---|
608 |
|
---|
609 | 2003-11-28 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
610 |
|
---|
611 | * configure.ac: Added various checks
|
---|
612 | * Makefile.am (rmt_LDADD): Added.
|
---|
613 | * error.c: Updated
|
---|
614 | * rmt.c: Removed useless private_errstring
|
---|
615 | * system.h: Updated
|
---|
616 | * userspec.c: Changed the way of handling declared vs. undeclared
|
---|
617 | system calls.
|
---|
618 | * strerror.c: New file. Borrowed from GNU Radius.
|
---|
619 |
|
---|
620 | * copyin.c: Removed kludgy declaration of delayed_seek_count.
|
---|
621 | * copypass.c: Likewise
|
---|
622 | * extern.h: Declare delayed_seek_count.
|
---|
623 | * mkdir.c: Fixed handling of undeclared errno
|
---|
624 | * mt.c: Likewise
|
---|
625 | * util.c: Likewise
|
---|
626 | * rtapelib.c: Likewise
|
---|
627 |
|
---|
628 | 2003-11-28 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
629 |
|
---|
630 | * TODO: New file
|
---|
631 |
|
---|
632 | * README-alpha: New file
|
---|
633 | * Makefile.am: Require at least version 1.7.1
|
---|
634 | * configure.ac: Check for locale.h
|
---|
635 | * main.c (main): Call setlocale. Thanks
|
---|
636 | Mitsuru Chinen <mchinen@yamato.ibm.com> for the patch.
|
---|
637 | * THANKS: Updated
|
---|
638 |
|
---|
639 | 2003-11-21 Sergey Poznyakoff <gray@Mirddin.farlep.net>
|
---|
640 |
|
---|
641 | * configure.ac: Added to the repository
|
---|
642 | * Makefile.am: Likewise
|
---|
643 | * NEWS: Likewise
|
---|
644 | * README: Likewise
|
---|
645 | * AUTHORS: Likewise
|
---|
646 | * .cvsignore: Likewise
|
---|
647 |
|
---|
648 | * configure.in: Removed
|
---|
649 | * Makefile.in: Removed
|
---|
650 | * makefile.pc: Removed
|
---|
651 | * configure: Removed
|
---|
652 |
|
---|
653 | * alloca.c: Added to the repository
|
---|
654 | * argmatch.c: Likewise
|
---|
655 | * bcopy.c: Likewise
|
---|
656 | * cpio.h: Likewise
|
---|
657 | * cpiohdr.h: Likewise
|
---|
658 | * defer.c: Likewise
|
---|
659 | * defer.h: Likewise
|
---|
660 | * dirname.c: Likewise
|
---|
661 | * dstring.c: Likewise
|
---|
662 | * dstring.h: Likewise
|
---|
663 | * error.c: Likewise
|
---|
664 | * filemode.c: Likewise
|
---|
665 | * filetypes.h: Likewise
|
---|
666 | * fnmatch.c: Likewise
|
---|
667 | * fnmatch.h: Likewise
|
---|
668 | * getopt.c: Likewise
|
---|
669 | * getopt.h: Likewise
|
---|
670 | * getopt1.c: Likewise
|
---|
671 | * idcache.c: Likewise
|
---|
672 | * mkdir.c: Likewise
|
---|
673 | * rmt.h: Likewise
|
---|
674 | * rtapelib.c: Likewise
|
---|
675 | * safe-stat.h: Likewise
|
---|
676 | * strdup.c: Likewise
|
---|
677 | * stripslash.c: Likewise
|
---|
678 | * tar.c: Likewise
|
---|
679 | * tar.h: Likewise
|
---|
680 | * tarhdr.h: Likewise
|
---|
681 | * xmalloc.c: Likewise
|
---|
682 | * xstrdup.c: Likewise
|
---|
683 |
|
---|
684 | * makepath.c: Updated
|
---|
685 | * mt.c: Likewise.
|
---|
686 | * rmt.c: Likewise.
|
---|
687 | * util.c: Likewise.
|
---|
688 | * copyin.c: Likewise.
|
---|
689 | * copyout.c: Likewise.
|
---|
690 | * copypass.c: Likewise.
|
---|
691 | * global.c: Likewise.
|
---|
692 | * main.c: Likewise.
|
---|
693 |
|
---|
694 | Thu Jun 13 20:14:48 2002 John Oleynick (juo@gnu.org)
|
---|
695 | * copyin.c: Strip leading / on absolute filenames after
|
---|
696 | comparing to the list of files specified on the command line
|
---|
697 | (instead of before). Problem reported by Jeff Holt.
|
---|
698 | * Version 2.5 released.
|
---|
699 |
|
---|
700 | Thu Jun 13 00:20:30 2002 John Oleynick (juo@gnu.org)
|
---|
701 | * Makefile.in: Fixed problem of looking in srcdir for info files.
|
---|
702 | Bug reported by Mike Castle.
|
---|
703 | * cpio.texi: Fixed typo. Problem reported by Fabrice Bauzac.
|
---|
704 |
|
---|
705 | Sun Jan 13 18:45:02 2002 John Oleynick (juo@gnu.org)
|
---|
706 | * copyin.c: Fixed a problem skipping files with multiple links
|
---|
707 | in a newc or CRC format archive. If the file with the shared copy
|
---|
708 | of the data was skipped, but other links were not skipped, the
|
---|
709 | other links were created as empty files. Bug reported by
|
---|
710 | Hendrik-Jan Thomassen.
|
---|
711 |
|
---|
712 | Thu Dec 6 20:05:10 2001 John Oleynick (juo@gnu.org)
|
---|
713 | * mt.c, mt.1: Merged Debian --rsh-command option and -V fix.
|
---|
714 | * copyout.c, copypass.c, util.c, extern.h: Modified to warn
|
---|
715 | if a file grows or its mtime is changed while it is being
|
---|
716 | copied.
|
---|
717 |
|
---|
718 | Wed Dec 6 00:02:04 2001 John Oleynick (juo@gnu.org)
|
---|
719 | * Many files: Updated FSF's address in copyright notices.
|
---|
720 |
|
---|
721 | Wed Aug 29 23:57:05 2001 John Oleynick (juo@gnu.org)
|
---|
722 | * Many files: Numerous fixes from Debian, Red Hat and SuSE
|
---|
723 | GNU/Linux distributions.
|
---|
724 |
|
---|
725 | Tue Jan 16 19:03:05 1996 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
726 | * util.c: An I/O error reading a file would cause the last byte
|
---|
727 | of the next file to be corrupted in the archive. Thanks to a
|
---|
728 | buggy NT NFS server for pointing out this problem.
|
---|
729 | * Version 2.4.2 released.
|
---|
730 |
|
---|
731 | Tue Jan 9 23:19:37 1996 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
732 | * copyout.c: missed 1 part of last bug fix.
|
---|
733 |
|
---|
734 | Mon Jan 8 16:49:01 1996 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
735 | * copyout.c, copypass.c: Use result of readlink() as length
|
---|
736 | of link name instead of size from lstat(). On some OS's lstat()
|
---|
737 | doesn't return the true length in size. Bug reported by
|
---|
738 | Robert Joop (rj@rainbow.IN-berlin.DE).
|
---|
739 |
|
---|
740 | Wed Dec 20 10:52:56 1995 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
741 | * rmt.c: Added temporary kludge so make rmt will work on Linux.
|
---|
742 | * configure.in: Only define HAVE_UTIME_H if utime.h declares
|
---|
743 | struct utimbuf.
|
---|
744 | * Makefile.in: Change prefix, exec_prefix and bindir to get their
|
---|
745 | values from configure. Added cpio.info to DISTFILES.
|
---|
746 | * cpio.texi: Added INFO-DIR-ENTRY.
|
---|
747 | * Version 2.4.1 released.
|
---|
748 |
|
---|
749 | Wed Nov 22 19:37:05 1995 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
750 | * cpio.texi: Updated release date and FSF's address.
|
---|
751 | * NEWS: Listed major new features for 2.4.
|
---|
752 | * mt.c, mt.1: Added seek and fsfm commands.
|
---|
753 | * Version 2.4 released.
|
---|
754 |
|
---|
755 | Tue Jun 27 19:14:27 1995 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
756 | * configure.in: fixed for new autoconf. Added check to make
|
---|
757 | sure fnmatch() works.
|
---|
758 | * Makefile.in: changed realclean to maintainer-clean. Added
|
---|
759 | support to handle fnmatch separate from other LIBOBJS.
|
---|
760 | * cpio.texi: More changes for 2.4.
|
---|
761 |
|
---|
762 | Wed Dec 14 16:14:27 1994 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
763 | * copypass.h: When given the -a option, set the access time of
|
---|
764 | the copy to be the access time of the original (instead of the
|
---|
765 | modification time of the original). Reported by
|
---|
766 | karney@pppl.gov (Charles Karney).
|
---|
767 | * cpio.texi: Updated with changes for 2.4.
|
---|
768 |
|
---|
769 | Wed Nov 3 18:18:07 1994 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
770 | * safe-stat.h, Makefile.in: New file used by mkdir.c. This will go
|
---|
771 | away when we get the real safe-xstat.[ch]in for mkdir.c.
|
---|
772 | * main.c: Don't mention [--null] twice in -p's usage message.
|
---|
773 | Changed --no-absolute-paths to --no-absolute-filenames.
|
---|
774 | * cpio.1: Updated man page with new features.
|
---|
775 | * cpio.texi, texinfo.tex, Makefile.in: Added texi documentation
|
---|
776 | from Robert Carleton (rbc@gnu.ai.mit.edu).
|
---|
777 |
|
---|
778 | Mon Oct 3 00:46:30 1994 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
779 | * makefile.pc, system.h: Changes to compile with Borland C++ 4.0.
|
---|
780 |
|
---|
781 | Thu Sep 29 22:15:50 1994 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
782 | * makepath.c: Don't #define index if it is already #defined.
|
---|
783 |
|
---|
784 | * mt.c: Check for __hpux defined instead of __hpux__. Reported
|
---|
785 | by ericb@lsid.hp.com (Eric Backus).
|
---|
786 |
|
---|
787 | Thu Sep 29 11:21:31 1994 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
788 | * extern.h, util.c, copyout.c, copypass.c, main.c, global.c:
|
---|
789 | Never mind --ignore-disk-input-errors flag, we'll just always
|
---|
790 | do that, like tar.
|
---|
791 |
|
---|
792 | * global.c, extern.h, main.c, copyin.c, copyout.c, copypass.c:
|
---|
793 | Added --quiet flag to supress printing number of blocks copied.
|
---|
794 |
|
---|
795 | * global.c, extern.h: If compiled with gcc, make input_bytes
|
---|
796 | and output_bytes `long long' instead of `long'. We need more
|
---|
797 | than 32 bits to keep track of the number of bytes copied to
|
---|
798 | and from tape drives that hold more than 4Gbytes.
|
---|
799 |
|
---|
800 | * util.c, copyin.c, main.c, global.c, extern.h: Added
|
---|
801 | --only-verify-crc flag to read a CRC format archive and verify
|
---|
802 | its contents' CRCs.
|
---|
803 |
|
---|
804 | * copyout.c: Fixed problem with creating oldc format archives
|
---|
805 | on machines with 16 bit ints. Reported by mpoole@cix.compulink.co.uk
|
---|
806 | (Martin Poole).
|
---|
807 |
|
---|
808 | * mt.c: Need to open tape WR_ONLY for erase command (and probably
|
---|
809 | others?). Reported by robert@hst.e.technik.uni-kl.de (Robert
|
---|
810 | Vogelgesan). Accept `eject' as a synonym for `offline'. Accept
|
---|
811 | `-t' as a synonym for `-f' (to be compatible with HPUX mt, which
|
---|
812 | only accepts `-t').
|
---|
813 |
|
---|
814 | Wed Sep 28 12:01:55 1994 John Oleynick (juo@wombat.gnu.ai.mit.edu)
|
---|
815 | * extern.h, global.c, main.c, util.c: only write sparse files
|
---|
816 | when given --sparse flag.
|
---|
817 | * extern.h, util.c, copyout.c, copypass.c, main.c, global.c:
|
---|
818 | Added support for --ignore-disk-input-errors flag.
|
---|
819 |
|
---|
820 | Wed Aug 24 12:55:38 1994 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
|
---|
821 |
|
---|
822 | * configure.in: Replace calls to AC_REMOTE_TAPE and AC_RSH
|
---|
823 | with equivalent code, since those macros are going away.
|
---|
824 |
|
---|
825 | Sun Feb 13 00:56:48 1994 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
826 | * extern.h, global.c, main.c, util.c: Added code to
|
---|
827 | tape_buffered_peek() to properly handle large, corrutped
|
---|
828 | archives, without overrunning the allocated buffer and
|
---|
829 | dumping core. Also changed the way the input and output
|
---|
830 | buffers are allocated in initialize_buffers().
|
---|
831 |
|
---|
832 | Tue Jan 25 01:04:32 1994 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
833 | * copyin.c, copyout.c, copypass.c, extern.h, main.c, tar.c, util.c:
|
---|
834 | Redid i/o buffer code. Previously, the same routines buffered input and
|
---|
835 | output for accessing the archive and the filesystem. Now there are
|
---|
836 | separate routines for buffering input and output and for buffering the
|
---|
837 | archive and the filesystem. This simplifies much of the buffer code
|
---|
838 | (e.g., only input from the archive has to check for end of tape and
|
---|
839 | allow the tape to be changed, only output to the filesystem has to
|
---|
840 | handle byte and word swapping, etc.; previously one routine had to
|
---|
841 | handle all of these special cases) This is how the routines got split
|
---|
842 | and renamed (old name -> new name):
|
---|
843 |
|
---|
844 | clear_rest_of_block -> tape_clear_rest_of_block
|
---|
845 | copy_files -> copy_files_tape_to_disk
|
---|
846 | " -> copy_files_disk_to_disk
|
---|
847 | " -> copy_files_disk_to_tape
|
---|
848 | copy_buf_out -> disk_buffered_write
|
---|
849 | " -> tape_buffered_write
|
---|
850 | copy_in_buf -> tape_buffered_read
|
---|
851 | empty_output_buffer -> tape_empty_output_buffer
|
---|
852 | " -> disk_empty_output_buffer
|
---|
853 | fill_input_buffer -> tape_fill_input_buffer
|
---|
854 | " -> disk_fill_input_buffer
|
---|
855 | pad_output -> tape_pad_output
|
---|
856 | peek_in_buf -> tape_buffered_peek
|
---|
857 | skip_padding -> tape_skip_padding
|
---|
858 | toss_input -> tape_toss_input
|
---|
859 |
|
---|
860 | * extern.h, global.c, main.c, util.c: Added support for
|
---|
861 | writing sparse files.
|
---|
862 |
|
---|
863 | Tue Dec 28 23:01:36 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
864 | * util.c, system.h, makepath.c, extern.h: don't define chown()
|
---|
865 | and don't typedef uid_t and gid_t if we are being compiled
|
---|
866 | by DJGPP.
|
---|
867 |
|
---|
868 | * copyin.c, extern.h, global.c, main.c: Added support for
|
---|
869 | --rename-batch-file.
|
---|
870 |
|
---|
871 | * copyin.c, copyout.c, extern.h: Cleaned up to pass gcc -Wall.
|
---|
872 |
|
---|
873 | Wed Dec 22 02:17:44 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
874 |
|
---|
875 | * makepath.c, copypass.c, copyin.c: If cpio was creating a
|
---|
876 | directory that contained `.' in the pathname (e.g. `foo/./bar'),
|
---|
877 | it would complain that it could not create `.', since it already
|
---|
878 | exists. From schwab@issan.informatik.uni-dortmund.de (Andreas
|
---|
879 | Schwab).
|
---|
880 |
|
---|
881 | * mt.c: Added "eject" as a synonym for "offline".
|
---|
882 |
|
---|
883 | * util.c: Slight modification to when we lseek with
|
---|
884 | BROKEN_LONG_TAPE_DRIVER (do it every 1Gb, instead
|
---|
885 | of every 2Gb).
|
---|
886 |
|
---|
887 | * copyin.c, global.c, extern.h: Added --no-absolute-paths option,
|
---|
888 | to ignore absolute paths in archives.
|
---|
889 |
|
---|
890 | Tue Dec 21 01:30:59 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
891 |
|
---|
892 | * util.c: Fix for copying new_media_message_after_number. From
|
---|
893 | Christian.Kuehnke@arbi.informatik.uni-oldenburg.de (Christian
|
---|
894 | Kuehnke).
|
---|
895 |
|
---|
896 | Thu Jul 29 20:35:57 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
|
---|
897 |
|
---|
898 | * Makefile.in (config.status): Run config.status --recheck, not
|
---|
899 | configure, to get the right args passed.
|
---|
900 |
|
---|
901 | Mon Jul 19 23:01:00 1993 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
|
---|
902 |
|
---|
903 | * Makefile.in (libdir): Use standard GNU value --
|
---|
904 | $(exec_prefix)/lib, not /etc.
|
---|
905 | (.c.o): Put CFLAGS last.
|
---|
906 |
|
---|
907 | Thu Jul 8 19:43:39 1993 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
|
---|
908 |
|
---|
909 | * Makefile.in: Add rules for remaking Makefile, configure,
|
---|
910 | config.status.
|
---|
911 |
|
---|
912 | Mon Jul 5 14:54:08 1993 John Oleynick (juo@spiff.gnu.ai.mit.edu)
|
---|
913 |
|
---|
914 | * cpio.1: Updated man page for 2.3.
|
---|
915 | * Makefile.in: Create distribution with .gz extension, instead of .z.
|
---|
916 |
|
---|
917 | Tue Jun 29 18:54:37 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
918 |
|
---|
919 | * Makefile.in: Added installdirs target (using mkinstalldirs).
|
---|
920 | * Added mkinstalldirs script.
|
---|
921 | * main.c, mt.c: Added --help option. Changed usage() to
|
---|
922 | take a stream and exit value (so --help can print on stdout
|
---|
923 | and return a 0 exit status).
|
---|
924 | * extern.h: Removed usage()'s prototype (it was out of date,
|
---|
925 | and only used in main.c).
|
---|
926 |
|
---|
927 | Thu May 6 00:22:22 1993 John Oleynick (juo@hal.gnu.ai.mit.edu)
|
---|
928 |
|
---|
929 | * cpio.1: Added hpbin and hpodc.
|
---|
930 |
|
---|
931 | Tue May 4 00:32:29 1993 John Oleynick (juo@hal.gnu.ai.mit.edu)
|
---|
932 |
|
---|
933 | * copyin.c (process_copy_in), copypass.c (process_copy_pass): When
|
---|
934 | deleting an existing file, if the file is a directory, use rmdir()
|
---|
935 | instead of unlink().
|
---|
936 |
|
---|
937 | Thu Apr 29 14:43:56 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
938 |
|
---|
939 | * tar.c (read_in_tar_header): Clear non-protection bits from
|
---|
940 | mode, in case tar has left some device bits in there.
|
---|
941 |
|
---|
942 | Wed Apr 28 10:36:53 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
943 |
|
---|
944 | * util.c: Added code to try and work around broken tape drivers
|
---|
945 | that have problems with tapes > 2Gb.
|
---|
946 |
|
---|
947 | * copyout.c (process_copy_out): Pass file_hdr to
|
---|
948 | writeout_other_defers() and add_link_defer() by reference,
|
---|
949 | not by value.
|
---|
950 |
|
---|
951 | * copyin.c (process_copy_in): Pass file_hdr to defer_copyin()
|
---|
952 | and create_defered_links() by reference, not by value.
|
---|
953 |
|
---|
954 | * defer.c: include <sys/types.h> (to build on BSD 4.3 on HP300)
|
---|
955 |
|
---|
956 | Fri Apr 16 18:01:17 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
957 |
|
---|
958 | * mt.c, util.c: Include <sys/mtio.h> if HAVE_SYS_MTIO_H is
|
---|
959 | defined, not HAVE_MTIO_H.
|
---|
960 |
|
---|
961 | Wed Apr 14 17:37:46 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
962 |
|
---|
963 | * util.c: Include <sys/io/trioctl.h> if HAVE_SYS_IO_TRIOCTL_H
|
---|
964 | is defined.
|
---|
965 |
|
---|
966 | * mt.c: Only include <sys/mtio.h> if HAVE_SYS_MTIO_H is defined.
|
---|
967 |
|
---|
968 | Fri Apr 2 13:09:11 1993 John Oleynick (juo@goldman.gnu.ai.mit.edu)
|
---|
969 |
|
---|
970 | * configure.in: Added fnmatch to AC_REPLACE_FUNCS. Added
|
---|
971 | sys/io/trioctl.h to AC_HAVE_HEADERS.
|
---|
972 |
|
---|
973 | * Makefile.in: Removed fnmatch.o from OBJS.
|
---|
974 |
|
---|
975 | * copyin.c: Only include "fnmatch.h" if FNM_PATHNAME isn't
|
---|
976 | defined yet.
|
---|
977 |
|
---|
978 | * mt.c: Include <sys/io/trioctl.h> if HAVE_SYS_IO_TRIOCTL_H is
|
---|
979 | defined.
|
---|
980 |
|
---|
981 | Mon Mar 29 17:04:06 1993 John Oleynick (juo@hal.gnu.ai.mit.edu)
|
---|
982 |
|
---|
983 | * Many changes for supporting HPUX Context Dependent Files;
|
---|
984 | also some bug fixes to fix problems with multiply (hard) linked
|
---|
985 | device files; minor changes to support HPUX format archives
|
---|
986 | (slightly broken?) System V.4 posix tar archives and HPUX
|
---|
987 | posix tar archives.
|
---|
988 |
|
---|
989 | * Makefile.in: New files defer.o, defer,c and defer.h; added
|
---|
990 | -DSYMLINK_USES_UMASK and -DHPUX_CDF comments; changed dist rule
|
---|
991 | to use gzip with tar, instead of compress.
|
---|
992 |
|
---|
993 | * copyin.c: changes for new arf_hpbinary and arf_hpascii formats;
|
---|
994 | HPUX CDF's; DEBUG_CPIO; fixes to properly handle multiple
|
---|
995 | links in newc and crc format archives (new routines defer_copyin(),
|
---|
996 | create_defered_links(), create_final_defers()); move most
|
---|
997 | multiple (hard) link code to new routines link_name() and
|
---|
998 | link_to_maj_min_ino(); use new macro UMASKED_SYMLINK instead of
|
---|
999 | symlink().
|
---|
1000 |
|
---|
1001 | * copyout.c: fixes to properly handle multiple links in newc
|
---|
1002 | and crc format archives (new routines last_link(),
|
---|
1003 | count_defered_links_to_dev_ino(), add_link_defer(),
|
---|
1004 | writeout_other_defers(), writeout_final_defers(),
|
---|
1005 | writeout_defered_file()); support for new arf_hpbinary and
|
---|
1006 | arf_hpascii formats; support for HPUX CDF's.
|
---|
1007 |
|
---|
1008 | * copypass.c: move most multiple link code to new routines
|
---|
1009 | link_name() and link_to_maj_min_ino(); use new macro UMASKED_SYMLINK
|
---|
1010 | instead of symlink(); support for HPUX CDF's.
|
---|
1011 |
|
---|
1012 | * extern.h: added arf_hpascii and arf_hpbinary archive enum types;
|
---|
1013 | added debug_flag.
|
---|
1014 |
|
---|
1015 | * global.c: added debug_flag.
|
---|
1016 |
|
---|
1017 | * main.c: added debug_flag; support for hpodc and hpbin formats.
|
---|
1018 |
|
---|
1019 | * makepath.c: split from standard makpath.c to add support
|
---|
1020 | for HPUX CDF's.
|
---|
1021 |
|
---|
1022 | * mt.c: added !defined(__osf__) (from Andrew Marquis
|
---|
1023 | <amarquis@genome.wi.mit.edu>).
|
---|
1024 |
|
---|
1025 | * system.h: new macro UMASKED_SYMLINK
|
---|
1026 |
|
---|
1027 | * tar.c: minor changes to read (slightly broken?) System V.4 posix
|
---|
1028 | tar archives and HPUX posix tar archives.
|
---|
1029 |
|
---|
1030 | * util.c: HPUX CDF support (including new routines
|
---|
1031 | add_cdf_double_slashes() and islasparentcdf()); new routine
|
---|
1032 | umasked_symlink().
|
---|
1033 |
|
---|
1034 | Sun Mar 14 23:00:14 1993 Jim Meyering (meyering@comco.com)
|
---|
1035 |
|
---|
1036 | * copypass.c (process_copy_pass): Use <=, not just <, when comparing
|
---|
1037 | mtimes. From Pieter Bowman <bowman@math.utah.edu>.
|
---|
1038 |
|
---|
1039 | Fri Jan 15 14:35:37 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
|
---|
1040 |
|
---|
1041 | * copyin.c: Move include of fnmatch.h to get right FNM* macros.
|
---|
1042 |
|
---|
1043 | Tue Nov 24 08:45:32 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
|
---|
1044 |
|
---|
1045 | * Version 2.2.
|
---|
1046 |
|
---|
1047 | * copyout.c (process_copy_out): Add parens for gcc -Wall.
|
---|
1048 | From Jim Meyering.
|
---|
1049 |
|
---|
1050 | * system.h: Use HAVE_FCNTL_H, not USG.
|
---|
1051 |
|
---|
1052 | * dstring.c, mt.c, system.h: Use HAVE_STRING_H, not USG.
|
---|
1053 |
|
---|
1054 | Fri Nov 20 22:47:18 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
|
---|
1055 |
|
---|
1056 | * copyin.c (read_in_binary): Copy the dev and ino that are
|
---|
1057 | already in `file_hdr' into `short_hdr'.
|
---|
1058 | From dao@abars.att.com (David A Oshinsky).
|
---|
1059 |
|
---|
1060 | * system.h [!_POSIX_VERSION]: Declare lseek as off_t, not long.
|
---|
1061 | From Karl Berry.
|
---|
1062 |
|
---|
1063 | Wed Oct 14 13:53:41 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
|
---|
1064 |
|
---|
1065 | * Version 2.1.
|
---|
1066 |
|
---|
1067 | Tue Oct 13 22:51:34 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
|
---|
1068 |
|
---|
1069 | * main.c: Add --swap equivalent to -b.
|
---|
1070 |
|
---|
1071 | * mt.c: Add f_force_local variable and -V --version option.
|
---|
1072 |
|
---|
1073 | Fri Oct 2 18:42:27 1992 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
|
---|
1074 |
|
---|
1075 | * main.c (long_opts, usage): Add --force-local option.
|
---|
1076 |
|
---|
1077 | Thu Oct 1 23:23:43 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
|
---|
1078 |
|
---|
1079 | * main.c (process_args) [__MSDOS__]: Don't call geteuid.
|
---|
1080 |
|
---|
1081 | * copyin.c (read_in_{old,new}_ascii): Use `l' for sscanf into longs.
|
---|
1082 | * copyout.c (write_out_header): Ditto for sprintf.
|
---|
1083 | * global.c, extern.h: Make input_size and output_size long.
|
---|
1084 |
|
---|
1085 | Thu Sep 10 23:39:30 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
|
---|
1086 |
|
---|
1087 | * global.c, extern.h: Add new var f_force_local to work with
|
---|
1088 | rmt.h change from tar.
|
---|
1089 |
|
---|
1090 | Sun Aug 23 00:18:20 1992 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
|
---|
1091 |
|
---|
1092 | * Version 2.0.
|
---|
1093 |
|
---|
1094 | * tar.c (otoa): Compute value in an unsigned long, not an int.
|
---|
1095 | * copyout.c (write_out_header) [__MSDOS__]: Don't use dev_t.
|
---|
1096 |
|
---|
1097 | * main.c (process_args): By default, don't chown for non-root users.
|
---|
1098 |
|
---|
1099 | Sat Aug 22 14:17:54 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
|
---|
1100 |
|
---|
1101 | * global.c, extern.h: Use uid_t and gid_t.
|
---|
1102 |
|
---|
1103 | * main.c (main) [__EMX__]: Expand wildcards.
|
---|
1104 | * system.h [__EMX__]: Alias some error names. From Kai Uwe Rommel.
|
---|
1105 |
|
---|
1106 | * extern.h [__STDC__]: Use prototypes.
|
---|
1107 |
|
---|
1108 | * copyin.c (process_copy_in), copyout.c (process_copy_out),
|
---|
1109 | copypass.c (process_copy_pass): Open all files with O_BINARY.
|
---|
1110 | Add cast to chmod call.
|
---|
1111 | * util.c: Add cast to bcopy calls. Make hash_insert static.
|
---|
1112 | From Kai Uwe Rommel.
|
---|
1113 |
|
---|
1114 | Thu Aug 20 22:03:49 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
|
---|
1115 |
|
---|
1116 | * util.c (peek_in_buf): Don't print "end of file" before
|
---|
1117 | getting the next reel of medium.
|
---|
1118 |
|
---|
1119 | * copyin.c (read_in_old_ascii): Allocate space for NUL terminator.
|
---|
1120 | Print newline for dot line when done, even if appending.
|
---|
1121 |
|
---|
1122 | Thu Jul 23 16:34:53 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
|
---|
1123 |
|
---|
1124 | * tar.c (write_out_tar_header, read_in_tar_header)
|
---|
1125 | [__MSDOS__]: Don't try to get user and group names.
|
---|
1126 | * extern.h: Don't declare the functions to do it (need uid_t).
|
---|
1127 |
|
---|
1128 | * main.c [__MSDOS__]: Ignore the -R option.
|
---|
1129 |
|
---|
1130 | * system.h: Define makedev if defining major and minor.
|
---|
1131 |
|
---|
1132 | * copyin.c, copyout.c [__MSDOS__]: setmode on archive_des, not
|
---|
1133 | 0 and 1.
|
---|
1134 |
|
---|
1135 | Sat Jul 18 14:30:55 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
|
---|
1136 |
|
---|
1137 | * tar.c, stripslash.c, userspec.c, cpiohdr.h, tar.h, tarhdr.h,
|
---|
1138 | system.h: New files.
|
---|
1139 | * Move portability stuff from various files to system.h.
|
---|
1140 | * cpio.h: Rename header structure and members, and add
|
---|
1141 | new structure for SVR4 format.
|
---|
1142 | * copyin.c, copyout.c: Use the new structure internally, the
|
---|
1143 | old one only for I/O in the old formats.
|
---|
1144 | * copyin.c (read_in_header): Recognize the new archive formats.
|
---|
1145 | (read_in_new_ascii, read_pattern_file, skip_padding): New functions.
|
---|
1146 | (swab_array): Do the swapping using char pointers instead of
|
---|
1147 | bitwise arithmetic.
|
---|
1148 | (process_copy_in): Handle byte and halfword swapping and new formats.
|
---|
1149 | Ok if a directory we want to make already exists, but set its perms.
|
---|
1150 | Do chmod after chown to fix any set[ug]id bits.
|
---|
1151 | Use `struct utimbuf' instead of a long array.
|
---|
1152 | * copyout.c (write_out_header): Handle new formats.
|
---|
1153 | (process_copy_out): Use `struct utimbuf'.
|
---|
1154 | Handle appending and new formats.
|
---|
1155 | Remove any leading `./' from filenames.
|
---|
1156 | (read_for_checksum, clear_rest_of_block, pad_output): New functions.
|
---|
1157 | * copypass.c (process_copy_pass): Use `struct utimbuf'.
|
---|
1158 | Ok if a directory we want to make already exists, but set its perms.
|
---|
1159 | Do chmod after chown to fix any set[ug]id bits.
|
---|
1160 | Don't change perms of `.'.
|
---|
1161 | * extern.h, global.c: Replace the separate format flags with
|
---|
1162 | one variable. Add new variables for the new options.
|
---|
1163 | * main.c: Add new options -A --append, -H --format, -C --io-size,
|
---|
1164 | -M --message, --no-preserve-owner, -R --owner, -E --pattern-file,
|
---|
1165 | -V --dot, -s --swap-bytes, -S --swap-halfwords, -b, -I, -k, -O.
|
---|
1166 | (usage): Document them.
|
---|
1167 | (process_args): Recognize them. Use open_archive.
|
---|
1168 | (initialize_buffers): Allow room for tar archives and double buffers.
|
---|
1169 | * util.c (empty_output_buffer_swap): New function.
|
---|
1170 | (empty_output_buffer): Call it if swapping current file.
|
---|
1171 | Check additional end of media indicators.
|
---|
1172 | (swahw_array, peek_in_buf, prepare_append, open_archive,
|
---|
1173 | set_new_media_message): New functions.
|
---|
1174 | (fill_input_buffer): Don't print error message if end of media.
|
---|
1175 | (toss_input): Don't seek, always read.
|
---|
1176 | (copy_files): Update crc if needed.
|
---|
1177 | (find_inode_file, add_inode): Check major and minor numbers as
|
---|
1178 | well as dev.
|
---|
1179 | (get_next_reel): Prompt user if archive name is unknown.
|
---|
1180 | Print fancy messages.
|
---|
1181 | Close the archive and reopen it.
|
---|
1182 |
|
---|
1183 | Above primarily from John Oleynick <juo@klinzhai.rutgers.edu>.
|
---|
1184 |
|
---|
1185 | * util.c (find_inode_file): Use modulus when computing initial
|
---|
1186 | loop index.
|
---|
1187 | (add_inode): Zero out new entry.
|
---|
1188 | From scott@sctc.com (Scott Hammond).
|
---|
1189 |
|
---|
1190 | * cpio.h, copyin.c, copyout.c: Rename `struct cpio_header'
|
---|
1191 | members from h_foo to c_foo.
|
---|
1192 |
|
---|
1193 | Wed May 20 00:09:26 1992 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu)
|
---|
1194 |
|
---|
1195 | * copyin.c: If we include a header file specifically to get
|
---|
1196 | major et al., assume we have them.
|
---|
1197 |
|
---|
1198 | Mon Mar 9 19:29:20 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
|
---|
1199 |
|
---|
1200 | * mt.c (main): rmtclose the tape file descriptor.
|
---|
1201 |
|
---|
1202 | * main.c (main): rmtclose the archive, if not in copy-pass mode.
|
---|
1203 |
|
---|
1204 | * util.c (create_all_directories): Don't print a message when
|
---|
1205 | creating a directory, for UNIX compat.
|
---|
1206 |
|
---|
1207 | * copyin.c (process_copy_in), copypass.c (process_copy_pass):
|
---|
1208 | Skip file if it has the same timestamp as existing file, not just
|
---|
1209 | if it is older than existing file, for UNIX compat.
|
---|
1210 |
|
---|
1211 | Tue Mar 3 12:06:58 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
|
---|
1212 |
|
---|
1213 | * main.c, mt.c (usage): Document long options as starting with
|
---|
1214 | -- instead of +.
|
---|
1215 |
|
---|
1216 | * extern.h: Only declare lseek if not _POSIX_VERSION.
|
---|
1217 |
|
---|
1218 | Tue Dec 24 00:19:45 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
|
---|
1219 |
|
---|
1220 | * copyin.c: Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS instead
|
---|
1221 | of USG and _POSIX_VERSION to find major and minor macros.
|
---|
1222 |
|
---|
1223 | * mt.c: Use unistd.h and stdlib.h if available.
|
---|
1224 |
|
---|
1225 | * copyin.c, copyout.c, copypass.c, util.c, extern.h: Change
|
---|
1226 | POSIX ifdefs to HAVE_UNISTD_H and _POSIX_VERSION.
|
---|
1227 |
|
---|
1228 | Sun Aug 25 06:31:08 1991 David J. MacKenzie (djm at apple-gunkies)
|
---|
1229 |
|
---|
1230 | * Version 1.5.
|
---|
1231 |
|
---|
1232 | * bcopy.c: New file (moved from util.c).
|
---|
1233 |
|
---|
1234 | * mt.c (print_status): Not all hpux machines have mt_fileno
|
---|
1235 | and mt_blkno; rather than trying to track HP's product line,
|
---|
1236 | just assume none of them have them.
|
---|
1237 |
|
---|
1238 | * util.c (copy_buf_out, copy_in_buf): Use more efficient
|
---|
1239 | copying technique for a big speedup.
|
---|
1240 |
|
---|
1241 | Fri Aug 2 04:06:45 1991 David J. MacKenzie (djm at apple-gunkies)
|
---|
1242 |
|
---|
1243 | * configure: Support +srcdir. Create config.status.
|
---|
1244 | Remove it and Makefile if interrupted while creating them.
|
---|
1245 |
|
---|
1246 | Thu Jul 18 09:43:40 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
|
---|
1247 |
|
---|
1248 | * Many files: use __MSDOS__ instead of MSDOS.
|
---|
1249 |
|
---|
1250 | * util.c, configure: Use NO_MTIO instead of HAVE_MTIO, to keep
|
---|
1251 | up with tar and rtapelib.c.
|
---|
1252 |
|
---|
1253 | Mon Jul 15 13:45:30 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
|
---|
1254 |
|
---|
1255 | * configure: Also look in sys/signal.h for signal decl.
|
---|
1256 |
|
---|
1257 | Thu Jul 11 01:50:32 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
|
---|
1258 |
|
---|
1259 | * Version 1.4.
|
---|
1260 |
|
---|
1261 | * configure: Remove /etc and /usr/etc from PATH to avoid
|
---|
1262 | finding /etc/install.
|
---|
1263 |
|
---|
1264 | Wed Jul 10 01:40:07 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
|
---|
1265 |
|
---|
1266 | * makefile.pc: Rewrite for Turbo C 2.0.
|
---|
1267 | * util.c [__TURBOC__] (utime): New function.
|
---|
1268 | * alloca.c, tcexparg.c: New files.
|
---|
1269 |
|
---|
1270 | * extern.h [STDC_HEADERS]: Don't declare malloc and realloc.
|
---|
1271 |
|
---|
1272 | * main.c [MSDOS]: Make binary mode the default.
|
---|
1273 | * copyin.c, copyout.c: Make stdin or stdout binary mode as
|
---|
1274 | appropriate (so cpio archives don't get corrupted).
|
---|
1275 |
|
---|
1276 | * Many files: Use <string.h> if STDC_HEADERS as well as if USG.
|
---|
1277 |
|
---|
1278 | * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL),
|
---|
1279 | $(INSTALLTEXT) -> $(INSTALLDATA).
|
---|
1280 |
|
---|
1281 | Mon Jul 8 23:18:28 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
|
---|
1282 |
|
---|
1283 | * configure: For some library functions that might be missing,
|
---|
1284 | conditionally add the .o files to Makefile instead of
|
---|
1285 | defining func_MISSING.
|
---|
1286 | * mkdir.c: Renamed from mkrmdir.c.
|
---|
1287 |
|
---|
1288 | Sat Jul 6 02:27:22 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
|
---|
1289 |
|
---|
1290 | * configure: echo messages to stdout, not stderr.
|
---|
1291 | Use a test program to see if alloca needs -lPW.
|
---|
1292 |
|
---|
1293 | Thu Jun 27 16:15:15 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
|
---|
1294 |
|
---|
1295 | * copyin.c (process_copy_in), copyout.c (process_copy_out),
|
---|
1296 | copypass.c (process_copy_pass): Check close return value for
|
---|
1297 | delayed error notification because of NFS.
|
---|
1298 |
|
---|
1299 | Thu Jun 20 02:43:33 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
|
---|
1300 |
|
---|
1301 | * configure: Include $DEFS when compiling test programs.
|
---|
1302 |
|
---|
1303 | * util.c: Only declare getpwuid and getgrgid if not POSIX.
|
---|
1304 |
|
---|
1305 | * Version 1.3.
|
---|
1306 |
|
---|
1307 | * copyin.c: Use time_t, not long, for time values.
|
---|
1308 |
|
---|
1309 | * mt.c (print_status): Special cases for HP-UX and Ultrix.
|
---|
1310 |
|
---|
1311 | * util.c: Compile bcopy if USG or STDC_HEADERS, not BCOPY_MISSING.
|
---|
1312 |
|
---|
1313 | Tue Jun 11 16:40:02 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
|
---|
1314 |
|
---|
1315 | * copyin.c: Don't include sys/sysmacros.h if _POSIX_SOURCE.
|
---|
1316 |
|
---|
1317 | * copyin.c, copyout.c, copypass.c: Don't include sys/file.h if POSIX.
|
---|
1318 |
|
---|
1319 | * util.c: Include sys/types.h before, not after, pwd.h and grp.h.
|
---|
1320 |
|
---|
1321 | * configure: New shell script to aid configuration and create
|
---|
1322 | Makefile from Makefile.in.
|
---|
1323 |
|
---|
1324 | * copyin.c (process_copy_in): Use POSIX.2 fnmatch instead of
|
---|
1325 | glob_match.
|
---|
1326 |
|
---|
1327 | Mon Jun 10 22:11:19 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
|
---|
1328 |
|
---|
1329 | * global.c, extern.h: New variable, name_end.
|
---|
1330 | * main.c (process_args, usage): Add -0 +null option to set it.
|
---|
1331 | * copypass.c (process_copy_pass), copyout.c (process_copy_out):
|
---|
1332 | Use it.
|
---|
1333 |
|
---|
1334 | * dstring.c (ds_fgetstr): New function made from ds_fgets.
|
---|
1335 | (ds_fgets, ds_fgetname): Implement as front ends to ds_fgetstr.
|
---|
1336 |
|
---|
1337 | Sun Jun 2 15:45:24 1991 David J. MacKenzie (djm at wheat-chex)
|
---|
1338 |
|
---|
1339 | * most files: use GPL version 2.
|
---|
1340 |
|
---|
1341 | Sat May 18 11:39:22 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
|
---|
1342 |
|
---|
1343 | * copyin.c, copypass.c: Take out #ifdef MSDOS around chown.
|
---|
1344 | * util.c [MSDOS]: Provide dummy chown.
|
---|
1345 |
|
---|
1346 | Fri May 17 21:29:05 1991 David J. MacKenzie (djm at churchy.gnu.ai.mit.edu)
|
---|
1347 |
|
---|
1348 | * Version 1.2.
|
---|
1349 |
|
---|
1350 | * makefile.pc, cpio.cs: Update for new source and object files.
|
---|
1351 |
|
---|
1352 | Fri Mar 15 05:48:36 1991 David J. MacKenzie (djm at geech.ai.mit.edu)
|
---|
1353 |
|
---|
1354 | * global.c, extern.h: New variable `archive_desc'.
|
---|
1355 | * main.c (process_args): Set it.
|
---|
1356 | * copyout.c (process_copy_out), copyin.c (process_copy_in):
|
---|
1357 | Use it.
|
---|
1358 |
|
---|
1359 | * copyout.c (process_copy_out), copyin.c (process_copy_in):
|
---|
1360 | Remote tapes are special and not seekable; don't fstat them.
|
---|
1361 |
|
---|
1362 | * main.c (main, usage): Add -F, +file option. Use rmtopen.
|
---|
1363 | (main): Exit after printing version number.
|
---|
1364 | * util.c (empty_output_buffer): Use rmtwrite instead of write.
|
---|
1365 | (fill_input_buffer): Use rmtread instead of read.
|
---|
1366 | (tape_offline): Use rmtioctl instead of ioctl.
|
---|
1367 | Test HAVE_MTIO instead of MTIO_MISSING, for tar compatibility.
|
---|
1368 |
|
---|
1369 | Thu Mar 14 17:49:57 1991 David J. MacKenzie (djm at geech.ai.mit.edu)
|
---|
1370 |
|
---|
1371 | * util.c (create_all_directories): Use make_path to do the work.
|
---|
1372 |
|
---|
1373 | Sat Jan 12 15:32:15 1991 David J. MacKenzie (djm at geech.ai.mit.edu)
|
---|
1374 |
|
---|
1375 | * copyin.c, copyout.c, copypass.c, util.c: Only declare
|
---|
1376 | `errno' if not MSDOS. Some Unix errno.h do, some don't . . . .
|
---|
1377 |
|
---|
1378 | * global.c, extern.h: Make `input_size' and `output_size'
|
---|
1379 | unsigned, for 16 bit machines.
|
---|
1380 |
|
---|
1381 | * copyin.c (print_name_with_quoting): All non-ctrl chars are
|
---|
1382 | printable on MS-DOS.
|
---|
1383 |
|
---|
1384 | * util.c (empty_output_buffer): Never make sparse files;
|
---|
1385 | can create unrunnable executables.
|
---|
1386 | * copyin.c, copyout.c, copypass.c: Callers changed.
|
---|
1387 | * util.c (finish_output_file): Function removed.
|
---|
1388 |
|
---|
1389 | Tue Nov 6 15:47:16 1990 David J. MacKenzie (djm at apple-gunkies)
|
---|
1390 |
|
---|
1391 | * copyin.c, util.c, extern.h: Rename copystring to xstrdup.
|
---|
1392 |
|
---|
1393 | Mon Oct 29 02:24:41 1990 David J. MacKenzie (djm at apple-gunkies)
|
---|
1394 |
|
---|
1395 | * util.c (empty_output_buffer): Only make sparse files if
|
---|
1396 | NO_SPARSE_FILES is undefined, to accomodate dumb kernels.
|
---|
1397 |
|
---|
1398 | Wed Jul 25 18:48:35 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
|
---|
1399 |
|
---|
1400 | * util.c (getuser, getgroup): Make uid and gid unsigned short,
|
---|
1401 | not int.
|
---|
1402 |
|
---|
1403 | Sat Jul 21 00:44:44 1990 David J. MacKenzie (djm at apple-gunkies)
|
---|
1404 |
|
---|
1405 | * copyin.c, copyout.c, copypass.c, util.c, cpio.h: Add ifdefs
|
---|
1406 | for MSDOS.
|
---|
1407 |
|
---|
1408 | Sun Jul 15 23:51:48 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
|
---|
1409 |
|
---|
1410 | * copyin.c, copyout.c, copypass.c, global.c, extern.h, util.c:
|
---|
1411 | Use longs where appropriate, for 16 bit machines.
|
---|
1412 |
|
---|
1413 | Sun Jul 8 22:58:06 1990 David J. MacKenzie (djm at apple-gunkies)
|
---|
1414 |
|
---|
1415 | * main.c (process_args, usage): Change -b option to -O (old), to
|
---|
1416 | allow adding byte swapping later.
|
---|
1417 |
|
---|
1418 | Sat Jul 7 14:48:35 1990 David J. MacKenzie (dave at edfmd)
|
---|
1419 |
|
---|
1420 | * Version 1.1.
|
---|
1421 |
|
---|
1422 | * cpio.h: Make `mtime' and `filesize' unsigned long.
|
---|
1423 | * copyin.c (read_in_binary), copyout.c (write_out_header):
|
---|
1424 | High short-word of `mtime' and `filesize' always comes first.
|
---|
1425 |
|
---|
1426 | * (read_in_ascii, read_in_binary): New functions, from code in
|
---|
1427 | read_in_header.
|
---|
1428 | (read_in_header): Search for valid magic number, then fill in
|
---|
1429 | rest of header using read_in_ascii and read_in_binary.
|
---|
1430 | * global.c, extern.h: New variable, `binary_flag'.
|
---|
1431 | * main.c (process_args): Recognize new -b +binary option.
|
---|
1432 | * util.c [BCOPY_MISSING] (bcopy): New function.
|
---|
1433 |
|
---|
1434 | Wed Jul 4 00:40:58 1990 David J. MacKenzie (djm at apple-gunkies)
|
---|
1435 |
|
---|
1436 | * main.c (process_args): Add local pointers to functions to
|
---|
1437 | work around a pcc bug found on a Convex.
|
---|
1438 |
|
---|
1439 | * copyin.c (process_copy_in), util.c (toss_input,
|
---|
1440 | create_all_directories, add_inode): Don't use `index' as a
|
---|
1441 | variable name.
|
---|
1442 |
|
---|
1443 | Tue Jul 3 02:33:36 1990 David J. MacKenzie (djm at apple-gunkies)
|
---|
1444 |
|
---|
1445 | * version 1.0.
|
---|
1446 |
|
---|
1447 | Mon Jul 2 23:18:56 1990 David J. MacKenzie (djm at twiddle)
|
---|
1448 |
|
---|
1449 | * copyin.c (process_copy_in), copyout.c (process_copy_out),
|
---|
1450 | copypass.c (process_copy_pass): Print "1 block", not "1 blocks".
|
---|
1451 |
|
---|
1452 | * copyin.c (process_copy_in), copypass.c (process_copy_pass):
|
---|
1453 | Unlink existing dest. file unless either it is newer and
|
---|
1454 | not unconditional, or it is a directory.
|
---|
1455 |
|
---|
1456 | Mon Jul 2 03:57:41 1990 David J. MacKenzie (dave at edfmd)
|
---|
1457 |
|
---|
1458 | * util.c (xrealloc): New function.
|
---|
1459 | * dstring.c (ds_resize): Use xrealloc instead of free and
|
---|
1460 | xmalloc. Never shrink the string.
|
---|
1461 |
|
---|
1462 | * copypass.c (process_copy_pass): More efficient
|
---|
1463 | string handling while constructing output filename.
|
---|
1464 |
|
---|
1465 | * global.c, extern.h, main.c, cpio.h: Change from an enum,
|
---|
1466 | `copy_command', to a pointer to a void function, `copy_function'.
|
---|
1467 |
|
---|
1468 | * cpio.h (struct cpio_header): Make most fields unsigned.
|
---|
1469 | Rename h_filesize to h_filesizes and h_mtime to h_mtimes, and
|
---|
1470 | add new `long' fields with the old names at the end of the
|
---|
1471 | structure.
|
---|
1472 | * copyin.c (read_in_header): Set the long fields from the
|
---|
1473 | short arrays, making sure longs are aligned properly.
|
---|
1474 | (process_copy_in, long_format): Use the long fields.
|
---|
1475 | * copyout.c (write_out_header): Set the short arrays from the
|
---|
1476 | long fields, making sure longs are aligned properly.
|
---|
1477 | (process_copy_out): Use the long fields.
|
---|
1478 |
|
---|
1479 | * global.c, extern.h: New variable `output_is_seekable'.
|
---|
1480 | * util.c (empty_output_buffer): If output_is_seekable, use
|
---|
1481 | lseek to write blocks of zeros.
|
---|
1482 | (finish_output_file): New function.
|
---|
1483 | * copyin.c (process_copy_in), copyout.c (process_copy_out),
|
---|
1484 | copypass.c (process_copy_pass): Set `output_is_seekable'
|
---|
1485 | correctly and call finish_output_file.
|
---|
1486 | * main.c (initialize_buffers): Allocate space for sentinel in
|
---|
1487 | `output_buffer'.
|
---|
1488 |
|
---|
1489 | * global.c, extern.h: New variable `numeric_uid'.
|
---|
1490 | * main.c (process_args): Accept -n +numeric-uid-gid option, like ls.
|
---|
1491 | * copyin.c (long_format): Use numeric_uid.
|
---|
1492 |
|
---|
1493 | * copyin.c (process_copy_in), copyout.c (process_copy_out),
|
---|
1494 | copypass.c (process_copy_pass): Don't (for verbose) print the
|
---|
1495 | names of files that are not copied because of errors. Try to
|
---|
1496 | create missing directories for all file types. Free temporary
|
---|
1497 | buffers on error.
|
---|
1498 |
|
---|
1499 | Sat Jun 30 14:28:45 1990 David J. MacKenzie (djm at apple-gunkies)
|
---|
1500 |
|
---|
1501 | * version.c: New file.
|
---|
1502 | * main.c: Add -V, +version option.
|
---|
1503 | * Makefile [dist]: Extract version number from version.c.
|
---|
1504 |
|
---|
1505 | Sat Jun 30 12:44:47 1990 David J. MacKenzie (dave at edfmd)
|
---|
1506 |
|
---|
1507 | * global.c, extern.h, copyin.c, copyout.c, util.c: Rename
|
---|
1508 | `{input,output}_is_regular' to `{input,output}_is_special' and
|
---|
1509 | reverse the truth value.
|
---|
1510 |
|
---|
1511 | * global.c, extern.h: New variable `input_is_seekable' to
|
---|
1512 | control whether to skip data with lseek or read.
|
---|
1513 | * copyin.c (process_copy_in): Set it.
|
---|
1514 | * util.c (toss_input): Use it.
|
---|
1515 |
|
---|
1516 | * global.c, extern.h: New variable `xstat' that selects stat
|
---|
1517 | or lstat for input files.
|
---|
1518 | * main.c (process_args): New option -L, +dereference to set
|
---|
1519 | xstat to stat instead of lstat.
|
---|
1520 | (usage): Document it.
|
---|
1521 | * copyout.c (process_copy_out), copypass.c
|
---|
1522 | (process_copy_pass): Use *xstat on input file.
|
---|
1523 |
|
---|
1524 | Sat Jun 30 01:53:12 1990 David J. MacKenzie (dave at edfmd)
|
---|
1525 |
|
---|
1526 | * dstring.c (ds_init): Return void because return value was
|
---|
1527 | never used.
|
---|
1528 | (ds_resize): Ditto, and free old value instead of new one.
|
---|
1529 |
|
---|
1530 | * util.c (empty_output_buffer, fill_input_buffer,
|
---|
1531 | copy_out_buf, copy_in_buf, toss_input, copy_files): Return
|
---|
1532 | void instead of an error value and make errors fatal
|
---|
1533 | immediately instead of several levels up, to prevent printing
|
---|
1534 | of multiple error messages by different levels of functions.
|
---|
1535 |
|
---|
1536 | * copyin.c (read_in_header): Return void, because the error
|
---|
1537 | handling all happens at lower levels.
|
---|
1538 | (print_name_with_quoting): New function.
|
---|
1539 | (long_format): Call print_name_with_quoting. Take additional
|
---|
1540 | arg for name of linked-to file, and print it if nonzero.
|
---|
1541 | (process_copy_in): For verbose listing of symlinks, read in
|
---|
1542 | the linkname and pass it to long_format.
|
---|
1543 |
|
---|
1544 | * extern.h: Declare some more functions.
|
---|
1545 |
|
---|
1546 | Thu Jun 28 16:07:15 1990 David J. MacKenzie (dave at edfmd)
|
---|
1547 |
|
---|
1548 | * copypass.c (process_copy_pass): Warn about unknown file types.
|
---|
1549 |
|
---|
1550 | * copyout.c (process_copy_out): Check fstat return for error.
|
---|
1551 | Record filesize of 0 for special files. Warn about unknown
|
---|
1552 | file types.
|
---|
1553 |
|
---|
1554 | * copyin.c (process_copy_in): Warn about unknown file types.
|
---|
1555 | (read_in_header): Warn about byte-reversed binary headers.
|
---|
1556 |
|
---|
1557 | Sat Jun 23 22:50:45 1990 David J. MacKenzie (dave at edfmd)
|
---|
1558 |
|
---|
1559 | * main.c (main): Set umask to 0 so permissions of created
|
---|
1560 | files are preserved.
|
---|
1561 |
|
---|
1562 | * copyin.c, copyout.c, copypass.c, util.c: Pass file
|
---|
1563 | descriptors as ints, not pointers to ints.
|
---|
1564 | Cast file timestamps and sizes to long *, not int *, for 16
|
---|
1565 | bit machines.
|
---|
1566 | Use lstat instead of stat, if available.
|
---|
1567 | Handle FIFO's, sockets, and symlinks, if supported by O.S.
|
---|
1568 |
|
---|
1569 | * copyin.c (process_copy_in), copyout.c (process_copy_out):
|
---|
1570 | Don't consider FIFO'S, sockets, etc. to be possible tape drives.
|
---|
1571 |
|
---|
1572 | * util.c (create_all_directories): Fix incorrect loop
|
---|
1573 | termination check. Only copy string if it contains slashes.
|
---|
1574 | Don't check whether directory "" exists.
|
---|
1575 | (tape_offline): Code moved from get_next_reel.
|
---|
1576 | (get_next_reel): Print message before taking tape offline.
|
---|
1577 | Read a line of arbitrary length.
|
---|
1578 |
|
---|
1579 | * copyout.c, copyin.c, copypass.c: Always use utime, not utimes.
|
---|
1580 |
|
---|
1581 | * copyin.c (swab_short): New macro.
|
---|
1582 | (swab_array): New function.
|
---|
1583 | (read_in_header): In binary mode, if a byte-swapped header is
|
---|
1584 | read, swap the bytes back.
|
---|
1585 | (process_copy_in, process_copy_pass): Don't stat each file to
|
---|
1586 | create unless !unconditional_flag. Create device files correctly.
|
---|
1587 | Don't temporarily allow files being created to be read by
|
---|
1588 | other users. Don't unnecessarily chmod special files.
|
---|
1589 |
|
---|
1590 | Thu May 31 20:51:43 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
|
---|
1591 |
|
---|
1592 | * copyin.c (long_format): Use mode_string to format
|
---|
1593 | file protections instead of doing it ourselves.
|
---|
1594 | (protections): Function removed.
|
---|
1595 |
|
---|
1596 | Sat Apr 14 02:31:01 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
|
---|
1597 |
|
---|
1598 | * cpio.h (struct cpio_header): Make inode, mode, uid, gid
|
---|
1599 | fields unsigned.
|
---|
1600 |
|
---|
1601 | * util.c (getgroup): New function.
|
---|
1602 | * copyin.c (long_format): Print group name of files.
|
---|
1603 | Print file size, etc. as unsigned integers, not signed.
|
---|
1604 |
|
---|
1605 | * main.c (process_args): If -t is given and neither -i, -o, or
|
---|
1606 | -p is given, assume -i.
|
---|
1607 |
|
---|
1608 | * Add -f, +nonmatching option.
|
---|
1609 | * main.c: Rename +out to +create, +in to +extract,
|
---|
1610 | +modification-time to +preserve-modification-time,
|
---|
1611 | +pass to +pass-through.
|
---|
1612 |
|
---|
1613 | * copyin.c (process_copy_in), copypass.c (process_copy_pass):
|
---|
1614 | Don't complain in chown fails because the user doesn't have
|
---|
1615 | permission.
|
---|
1616 |
|
---|
1617 | Fri Apr 13 13:53:20 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
|
---|
1618 |
|
---|
1619 | * Add ifdefs for USG/Xenix.
|
---|
1620 | * util.c (cpio_error): Function removed.
|
---|
1621 | * Use error instead of cpio_error, so system error messages
|
---|
1622 | will be included.
|
---|
1623 | * cpio.h: Rename 'hdr_struct' to 'struct cpio_header'.
|
---|
1624 | * Move definition of xmalloc from dstring.c to util.c.
|
---|
1625 | * global.c, extern.c: Add global `program_name'.
|
---|
1626 | * main.c (main): Set program_name.
|
---|
1627 | (process_args): Rename +reset-atime to +reset-access-time,
|
---|
1628 | +table to +list.
|
---|
1629 | Have +block-size take an argument.
|
---|
1630 |
|
---|
1631 | Thu Apr 12 13:33:32 1990 David J. MacKenzie (djm at rice-chex)
|
---|
1632 |
|
---|
1633 | * util.c (find_inode_file): Make inode an int, not a short.
|
---|
1634 |
|
---|
1635 | * Make functions that don't return a value have type void.
|
---|
1636 | Add some casts to function calls.
|
---|
1637 |
|
---|
1638 | Wed Apr 11 14:55:28 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
|
---|
1639 |
|
---|
1640 | * main.c (process_args): -i, -o, and -p don't take arguments.
|
---|
1641 |
|
---|
1642 | * main.c (process_args): Get the non-option args from the
|
---|
1643 | correct elements of argv.
|
---|
1644 |
|
---|
1645 | Tue Apr 10 00:20:26 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
|
---|
1646 |
|
---|
1647 | * Indent source code and update copyrights.
|
---|
1648 |
|
---|
1649 | * cpio.c (usage): Change `collection' to `archive' in message.
|
---|
1650 |
|
---|
1651 | Thu Dec 28 03:03:55 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
|
---|
1652 |
|
---|
1653 | * dstring.c (xmalloc): Don't return a null pointer if size is 0,
|
---|
1654 | on the assumption that trying to allocate 0 bytes is a bug that
|
---|
1655 | should be trapped.
|
---|
1656 |
|
---|
1657 | Wed Dec 20 03:24:48 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
|
---|
1658 |
|
---|
1659 | * All files: Change from GNU CPIO General Public License to
|
---|
1660 | GNU General Public License.
|
---|
1661 |
|
---|
1662 | Mon Dec 18 13:18:36 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
|
---|
1663 |
|
---|
1664 | * Makefile: Add clean target and defines for CC and LDFLAGS.
|
---|
1665 | Add dist target and SRCS, DISTFILES macros. Add tags and TAGS targets.
|
---|
1666 | * dstring.c (ds_fgets): Read characters into an int, not char.
|
---|
1667 | (xmalloc): New function.
|
---|
1668 | (out_of_memory): Function removed.
|
---|
1669 | Global: use xmalloc instead of malloc and out_of_memory.
|
---|
1670 | * extern.h, global.c: Make flag variables ints instead of chars for
|
---|
1671 | compatibility with getopt_long.
|
---|
1672 | * extern.h: Declare more functions.
|
---|
1673 | * main.c (usage): Put the whole usage message into a single string
|
---|
1674 | and fix errors.
|
---|
1675 | * util.c (create_all_directories): Remove unused variable.
|
---|
1676 | (get_next_reel): Ditto.
|
---|
1677 | * dstring.h: Declare function.
|
---|
1678 |
|
---|
1679 | Sat Dec 2 13:22:37 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
|
---|
1680 |
|
---|
1681 | * main.c: Change +copy-pass option to +pass, +copy-in to +in,
|
---|
1682 | +copy-out to +out, and +mkdir to +make-directories, and add null
|
---|
1683 | option to terminate table.
|
---|
1684 | (process_args): Use the same code to handle long and short named
|
---|
1685 | options.
|
---|
1686 | (usage): Mention long options in message.
|
---|
1687 | |
---|
1688 |
|
---|
1689 | Local Variables:
|
---|
1690 | mode: change-log
|
---|
1691 | version-control: never
|
---|
1692 | End:
|
---|