386BSD 0.1 development
[unix-history] / usr / src / usr.bin / tar / ChangeLog
CommitLineData
f87489ac
WJ
1Mon Jul 1 14:14:06 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
2
3 * Release of version 1.10; appropriate changes to README.
4
5 * create.c: Removed printf's about sparse files.
6
7 * Fix a misplaced quote in level-0 and change some >& into
8 2>&1.
9
10Fri Jun 21 23:04:31 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
11
12 * list.c (skip_extended_headers): Userec was being called in
13 the wrong place.
14
15Thu Jun 20 19:10:35 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
16
17 * tar.h: Use ANSI prototypes for msg and msg_perror if
18 STDC_MSG is defined, even if BSD42 is also.
19
20 * Makefile: Replace DESTDIR with bindir.
21 (install): Don't install tar.texinfo. There's no standard
22 place for texinfo files, and /usr/local/man is inappropriate.
23 Add TAGS, distclean, and realclean targets and SHELL= line.
24
25 * version.c: Move old change history to bottom of ChangeLog.
26
27Wed Jun 12 12:43:58 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
28
29 * rtape_lib.c (__rmt_write): #ifdef should reference
30 SIGNAL_VOID, not USG.
31
32Wed Jun 5 14:57:11 1991 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
33
34 * tar.c (name_match, addname): Ugly hack to handle -C without
35 any files specified.
36 tar.h (struct name): New field for ugly hack.
37
38Mon Jun 3 14:46:46 1991 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
39
40 * testpad.c: New file to determine if we need special padding
41 in struct header in tar.h.
42
43 * tar.h (struct header): include padding if necessary, include
44 testpad.h.
45
46 * Makefile: rules to create testpad.h, etc.
47
48Wed May 22 16:02:35 1991 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu)
49
50 * tar.c (options): -L takes an argument.
51
52 * rtape_lib.c (__rmt_open): add /usr/bin/nsh to the list of
53 remote shell programs.
54
55 * create.c: define MAXPATHLEN if we don't get it from a system
56 header file.
57
58 * create.c (deal_with_sparse): return a real return value if
59 we can't open the file.
60
61 * tar.c (long_options): +newer takes an argument.
62 (describe): fix printing in various trivial ways
63
64Tue May 21 17:15:19 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
65
66 * tar.c (long_options): +get and +concatentate don't require arguments
67
68Mon May 20 15:55:30 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
69
70 * create.c (write_eot): Don't try and write an EOF if we are
71 already at one.
72
73 * port.c (strstr): Looking for null string should return zero.
74
75Sun May 19 22:30:10 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
76
77 * tar.c (options): -l doesn't take an argument
78
79 * Makefile: minor fix for SGI 4D defines from torda@scum.ethz.ch
80
81 * rtape_server.c (main.c): Suggested mod for 386/AIX from
82 Minh Tran-Le. I'm suspicious about this one.
83
84 * create.c (dump_file): Mods from Minh Tran-Le for hidden
85 files on AIX.
86 gnu.c (collect_and_sort_name, get_dir_contents): AIX hidden file mod.
87
88 * tar.c: (name_next): Mod from David Taylor to allow -C inside
89 a file list given to -T.
90
91 * Makefile: Comment describing presence of USE_REXEC.
92
93 * extract.c (extract_archive, case LF_SPARSE): zero check for
94 last element on numbytes needs to look at value after
95 converted from octal.
96
97 * port.c: Don't always demand strstr, check for HAVE_STRSTR
98 instead.
99 Makefile: Comment describing presence of HAVE_STRSTR option.
100
101Sun May 19 18:39:48 1991 David J. MacKenzie (djm at churchy.gnu.ai.mit.edu)
102
103 * port.c (get_date): Renamed from getdate, to avoid SVR4 conflict.
104 * tar.c: Call get_date instead of getdate.
105
106Fri May 10 02:58:17 1991 Noah Friedman (friedman at nutrimat)
107
108 * tar.c: added "\n\" to the end of some documentation strings
109 where they were left off.
110
111Thu May 9 17:28:54 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
112
113 * Makefile: added level-0, level-1, and backup-specs to AUX.
114 * version.c: changed to 1.10 beta.
115 * README: updated for 1.10 beta release.
116
117Tue Apr 2 12:04:54 1991 Michael I Bushnell (mib at godwin)
118
119 * create.c (dump_file): HPUX's st_blocks is in 1024 byte units
120 instead of 512 like the rest of the world, so I special cased
121 it.
122 * tar.c: Undo Noah's changes.
123
124Mon Apr 1 17:49:28 1991 Noah Friedman (friedman at wookumz.gnu.ai.mit.edu)
125
126 (This ought to be temporary until things are fixed properly. )
127
128 * tar.c: (struct option long_options): flag for "sparse" zero if
129 compiling under hpux.
130 tar.c: (functon options): case 'S' is a no-op if compiling under
131 hpux.
132
133Sat Mar 30 12:20:41 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
134
135 * tar.h: new variable tape_length.
136
137 * tar.c (options): add new option +tape-length / -L.
138
139 * buffer.c (fl_write): Turn #ifdef TEST code for limited tape
140 length on always, for tape-length option.
141
142 * create.c (dump_file): avoid apollo lossage where S_IFIFO == S_IFSOCK.
143
144 * buffer.c: include regex.h
145 * buffer.c (fl_read, open_archive): Use regex routines for
146 volume header match.
147 * xmalloc.c: removed file; wasn't necessary.
148 * tar.c: (main) use ck_malloc instead of xmalloc.
149
150Thu Mar 28 04:05:05 1991 Noah Friedman (friedman at goldman)
151
152 * regex.c, regex.o: New links.
153 * tar.c: include regex.h.
154 * Makefile (OBJ2): Add regex.o.
155 (regex.o, tar.o): Depend on regex.h
156 (SRC2, AUX): Add the new files.
157
158Sat Mar 23 15:39:42 1991 Noah Friedman (friedman at wookumz.gnu.ai.mit.edu)
159
160 * Makefile: added default flags and options for compiling under
161 hpux.
162
163 * Added files alloca.c and xmalloc.c
164
165Sat Mar 23 14:35:31 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu)
166
167 * port.c: Define WANT_VALLOC in HPUX.
168
169Fri Mar 15 06:20:15 1991 David J. MacKenzie (djm at geech.ai.mit.edu)
170
171 * rtape_lib.c: If USG and not HAVE_MTIO, define NO_RMTIOCTL
172 automatically.
173 (_rmt_rexec): Temporarily re-open stdin and stdout to
174 /dev/tty, to guarantee that rexec() can prompt and read the
175 login name and password from the user.
176 From pascal@cnam.cnam.fr (Pascal Meheut).
177 * Makefile: Mention -DUSE_REXEC.
178
179Fri Mar 8 20:15:11 1991 Michael I Bushnell (mib at wookumz.ai.mit.edu)
180
181 * tar.h, Makefile: Makefile CPP macro HAVE_SIZE_T might be
182 useful for some people.
183
184 * gnu.c: lstat->stat define where appropriate
185
186 * buffer.c (fl_write): keep track of amount written for +totals.
187 * tar.c, tar.h: set flag f_totals from +totals option
188 * tar.h (f_totals, tot_written): new variables
189 * tar.c (main): print total written with CMD_CREATE
190
191 * tar.c (main): return appropriate exit status
192
193Thu Jan 17 00:50:21 1991 David J. MacKenzie (djm at apple-gunkies)
194
195 * port.c: Remove a spurious `+' between functions (a remnant
196 of a context diff, apparently).
197
198Wed Jan 9 19:43:59 1991 Michael I Bushnell (mib at pogo.ai.mit.edu)
199
200 * create.c (where_is_data): Rewritten to be better, and then
201 #ifdef-ed out.
202 (deal_with_sparse): Severly pruned. Now we write or don't
203 write only complete blocks, not worrying about partial blocks.
204 This simplifies calculations, removes bugs, and elides the
205 second scan through the block. The first was zero_record, the
206 second was where_is_data.
207
208Mon Jan 7 17:13:29 1991 Michael I Bushnell (mib at wookumz.ai.mit.edu)
209
210 * create.c (deal_with_sparse): Second computation (for short
211 reads) of numbytes increment had subtraction backwards.
212 Need to handle calling where_is_data better when we did a
213 short read (it might go past the end of the read), also, set
214 sparsearray[...].offset in this case too.
215
216Fri Jan 4 12:24:38 EST 1991 Jay Fenlason (hack@ai.mit.edu)
217
218 * buffer.c Return a special error code if the archive you're
219 trying to read starts with a different label than the one specified
220 on the command line.
221
222Wed Jan 2 12:05:21 EST 1991 Jay Fenlason (hack@ai.mit.edu)
223
224 * gnu.c Prepend the current directory to the gnu_dumpfile, so that
225 -C's won't affect where the output goes. (sigh.)
226
227Tue Dec 18 18:05:59 EST 1990 Jay Fenlason (hack@ai.mit.edu)
228
229 * (gnu.c) Don't complain if the gnudumpfile we're reading info
230 from doesn't exist.
231
232 * create.c Write out gnudumpfile after finishing writing the archive.
233
234 * tar.c Add +exclude FNAME, and make +exclude-from do what +exclude
235 used to.
236
237 Make +version an operation, not an option.
238
239 add +confirmation alias for +interactive.
240
241Tue Dec 4 13:28:08 EST 1990 Jay Fenlason (hack@ai.mit.edu)
242
243 * tar.c (check_exclude) Don't let MUMBLE match MUMBLE.c or fooMUMBLE
244 but only foo/MUMBLE
245
246 * Add the name mangler (mangle.c, plus changes to create.c and
247 extract.c)
248
249 * extract.c Three small patches from Chip Salzenberg
250 (tct!chip@uunet.uu.net)
251
252 Don't complain when extracting a link, IFF it already exists.
253
254 Don't complain when extracting a directory IFF it already
255 exists.
256
257 Don't ad u+wx to directories when running as root.
258
259 * gnu.c Some changes from Chip Salzenberg to make
260 +listed-incremental work.
261
262 * port.c Add the F_FREESP emulation of the ftruncate syscall.
263
264Wed Nov 21 15:57:07 EST 1990 Jay Fenlason (hack@ai.mit.edu)
265
266 Remove excess \n from lots of msg() calls.
267
268Mon Nov 19 14:09:43 EST 1990 Jay Fenlason (hack@ai.mit.edu)
269
270 * tar.c Rename +volume to +label
271
272Fri Nov 16 15:43:44 1990 David J. MacKenzie (djm at apple-gunkies)
273
274 * tar.c (describe): Include the default values for -b and -f
275 (as set in the Makefile) in the message.
276
277Thu Nov 15 13:36:45 EST 1990 Jay Fenlason (hack@ai.mit.edu)
278
279 * extract.c (extract_archive) Do the utime() call before the
280 chmod() call, 'cuz some versons of utime() trash the file's mode
281 bits.
282
283 * list.c (read_and) Call do_something on volume headers and
284 multivol files even if they don't match the names we're looking for,
285 etc. . .
286
287Tue Nov 6 13:51:46 EST 1990 Jay Fenlason (hack@ai.mit.edu)
288
289 * port.c (un-quote-string) Don't try to write a null
290 if there's already one there.
291
292Thu Nov 1 14:58:57 EST 1990 Jay Fenlason (hack@ai.mit.edu)
293
294 * buffer.c (new_volume) fflush(msg_file) before reading for
295 confirmation on new volume. On EOF or error, print error msg and
296 abort.
297
298Mon Oct 29 12:06:35 EST 1990 Jay Fenlason (hack@ai.mit.edu)
299
300 * getdate.y Use new version of getdate().
301
302 * tar.c (name_add) Use sizeof(char *) instead of sizeof(int)
303
304 * README give the correct return address.
305
306Thu Oct 25 16:03:58 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
307
308 rtape_lib.c Change RMTIOCTL to NO_RMTIOCTL, so it is on by default.
309
310 rmt.h Add _isrmt() #define for NO_REMOTE case.
311
312 gnu.c Add forward reference for add_dir_name().
313
314Tue Oct 16 11:04:52 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
315
316 1.09 New -G file implementation of gnu-dump stuff.
317
318 * tar.c (name_add) Get the calls to ck_realloc and ck_malloc right.
319
320Thu Oct 11 11:23:38 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
321
322 * gnu.c Fix A couple of typos.
323
324Wed Sep 19 13:35:03 1990 David J. MacKenzie (djm at apple-gunkies)
325
326 * getdate.y [USG] (ftime): Use `daylight' unless
327 DAYLIGHT_MISSING is defined.
328
329Mon Sep 17 18:04:21 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
330
331 * gnu.c (gnu_restore) Don't use a passed char* for the
332 file name, use skipcrud+head->header.name, just like everything
333 else does. This means that gnu_restore will still work with
334 small buffers, etc.
335
336Thu Sep 13 15:01:17 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
337
338 * tar.c (add_exclude) Don't bus-error if the exclude file doesn't
339 end with a newline.
340
341Sun Sep 9 22:35:27 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
342
343 * Makefile (dist): Remove .fname when done.
344
345Thu Sep 6 12:48:58 EDT 1990 Jay Fenlason (hack@ai.mti.edu)
346
347 * gnu.c (gnu_restore) Rember to skip_file() over the directory
348 contents, even if we don't have to do anything with them.
349
350 * create.c extract.c diffarch.c Free sparsearray after we're done
351 with it.
352
353Tue Sep 4 10:18:50 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
354
355 * Makefile Include gnu.c in dist
356
357 * gnu.c move add_dir above read_dir_file so that cc doesn't complain
358 about add_dir returning void.
359
360Sun Sep 2 20:46:34 1990 David J. MacKenzie (djm at apple-gunkies)
361
362 * getdate.y: Declare some more functions and add storage
363 classes where omitted to shut compiler up.
364 [USG] (ftime): Don't use extern var `daylight'; appears that
365 some systems don't have it.
366
367Wed Aug 29 00:05:06 1990 David J. MacKenzie (djm at apple-gunkies)
368
369 * getdate.y (lookup): In the code that allows `Aug.' to be
370 recognized as `Aug', don't chop off the final `.' from words
371 like `a.m.', so they can be recognized.
372
373Thu Aug 16 11:34:07 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
374
375 * buffer.c (open_archive) If -O, write verbosity to stderr
376 instead of stdout.
377
378Fri Aug 10 12:29:28 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
379
380 * getdate.y Handle an explicit DST in the input string.
381 A dozen line patch from Per Foreby (perf@efd.lth.se).
382
383Mon Jul 16 13:05:11 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
384
385 * tar.c rename -g -G +incremental, +listed-imcremental, etc.
386
387Fri Jul 13 14:10:33 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
388
389 * tar.c Make +newer and +newer-mtime work according to their names.
390
391 * gnu.c If +newer or +newer-mtime, use the time specified on the
392 command line.
393
394 * buffer.c, create.c Add test to see if dimwit is trying to
395 archive the archive.
396
397 * tar.c (long_options[]) re-ordered, so that groups of similar
398 options are next to each other. . . I think.
399
400 (describe) Modified to more closely reflect reality.
401
402Fri Jul 6 13:13:59 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
403
404 * tar.c add compile-time option for SYS V (?) style
405 tape-drive names /dev/rmt/{n}[lmh]
406
407 * tar.c Fix getopt-style stuff so that -C always works correctly.
408
409 * gnu.c, tar.c make filename to -G optional.
410
411 * {all over}, replace some fprintf(stderr...) calls with calls
412 to msg().
413
414 * port.c Make -Dmumble_MSG option on command line override
415 internal assumptions.
416
417 * Makefile Mention -Dmumble_MSG options
418
419Fri Jul 6 02:35:31 1990 David J. MacKenzie (djm at apple-gunkies)
420
421 * tar.c (options): Don't change `c' if it is 0, as getopt now
422 handles that internally.
423
424Mon Jul 2 15:21:13 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
425
426 * gnu.c (new file) Moved all the f_gnudump stuff here where we
427 can keep track of it easier. Also made -G take a file name where it
428 stores the inode information about directories so that we can
429 detect moved directores.
430
431 * create.c (dump_file) Changed slightly to work with the new
432 f_gnudump.
433
434 * tar.c Moved the f_gnudump stuff to gnu.c
435
436 * tar.c, extract.c added the +do-chown option, which forces tar
437 to always try to chown the created files to their original owners.
438
439 * version.c New version 1.09
440
441Sun Jun 24 14:26:28 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
442
443 * create.c: Change ifdefs for directory library header
444 selection to be like the ones in tar.c.
445 * Makefile [Xenix]: Link with -ldir to get the dirent.h
446 directory library.
447
448Thu Jun 7 03:31:51 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
449
450 * Makefile, buffer.c, diffarch.c: Change MTIO symbol to HAVE_MTIO
451 because SCO Xenix defines 'MTIO' for an incompatible tape driver
452 system in a file included by termio.h.
453 * tar.h: Don't define size_t for Xenix.
454
455Tue Jun 5 11:38:00 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
456
457 * create.c (dump_file) Only print the
458 "... is on a different filesystem..." if f_verbose is on.
459 also add a case for S_IFSOCK and treat it like a FIFO.
460 (Not sure if that's the right thing to do or not, but it's better
461 than all those Unknown File Type msgs.)
462
463Thu May 31 19:25:36 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
464
465 * port.c Use #ifdef sparc instead of #ifdef SPARC since
466 the lowercase version is defined, and the uppercase one isn't.
467
468Tue May 22 11:49:18 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
469
470 * port.c (ck_malloc) if size==0 pretend size=1
471 (ck_realloc) if(!ptr) call ck_malloc instead.
472
473Tue May 15 12:05:45 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
474
475 * diffarch.c (diff_archive) If not f_absolute_paths, and attempt to
476 open a file listed in the archive fails, try /filename also. This will
477 allow diff to open the wrong file if both /filename and filename exist,
478 but there's nothing we can do about that.
479
480Fri May 11 16:17:43 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
481
482 * Makefile, Descripbe new -DMTIO option.
483
484 * buffer.c diffarch.c Change ifdefs slightly, so that
485 -DMTIO will include sys/mtio.h even if USG is defined.
486 This is for HUPX and similar BSD/USG crossovers.
487
488Tue May 8 13:14:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
489 * update.c (update_archive) Call reset_eof() when appropriate.
490
491 * buffer.c (reset_eof) New function, that turns of EOF flag, and
492 re-sets the ar_record and ar_last pointers. This will allow
493 'tar rf non-existant-file' to not core-dump.
494
495Fri May 4 14:05:31 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
496
497 * tar.c: Recognize the +sparse option. It was documented, but
498 only the short form (-S) was actually recognized.
499
500Tue Apr 17 21:34:14 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
501
502 * create.c Don't access location 0 if ->dir_contents is null.
503
504Wed Apr 11 17:30:03 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
505
506 * buffer.c (flush_archive, close_archive, new_volume) Always check
507 the return value of rmtclose(), and only give a warning msg if it is
508 <0. Some device drivers (including Sun floppy disk, and HP
509 streaming tape) return -1 after an IO error (or something like that.)
510
511Fri Mar 23 00:06:30 1990 Jim Kingdon (kingdon at mole.ai.mit.edu)
512
513 * tar.c (long_options): Make it so +append +extract +list +update
514 +catenate and +delete don't take arguments.
515
516Mon Mar 12 13:33:53 EST 1990
517
518 * buffer.c (open_archive, fl_write) Set the mtime of the volume
519 header to the current time.
520
521Wed Mar 7 14:10:10 EST 1990 Jay Fenlason (hack@ai.mit.edu)
522
523 * buffer.c Fix +compress-block A two character patch from
524 Juha Sarlin (juha@tds.kth.se)
525 Replace #ifdef __GNU__ with #ifdef __STDC__
526 (new_volume) If open of new archive fails, ask again
527 (Is probably user error.)
528
529 * tar.c Replace #ifdef __GNU__ with #ifdef __STDC__
530
531 * port.c Clean up #ifdef and #defines a bit.
532 (quote_copy_string) Sometimes the malloc'd buffer
533 would be up to two characters too short.
534
535 * extract.c (extract_archive) Don't declare ind static.
536
537 * create.c (dump_file) Don't declare index_offset static.
538
539 * diffarch.c Remove diff_name variable, and always use
540 head->header.name, which will always work, unlike diff_name, which
541 becomes trash when the next block is read in.
542
543Thu Mar 1 13:43:30 EST 1990 Jay Fenlason (hack@wookumz.ai.mit.edu)
544
545 * Makefile Mention the -NO_REMOTE option.
546 * port.c Fix typo, and define WANT_FTRUNCATE on i386 machines.
547
548Mon Feb 26 17:44:53 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
549
550 * getdate.y: Declare yylex and yyerror as static.
551 #define yyparse to getdate_yyparse.
552
553Sun Feb 25 20:47:23 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
554
555 * tar.c: Remove +old option, since it is a valid abbreviation of
556 +old-archive, which does the same thing.
557 (describe): A few small cleanups in message.
558
559Mon Feb 5 14:29:21 EST 1990 Jay Fenlason (hack@wookumz)
560
561 * port.c define LOSING_MSG on sparc, since doprnt_msg doesn't work.
562 Fix typo in #ifdef WANT_GETWD
563
564Fri Jan 26 16:11:20 EST 1990 Jay Fenlason (hack@wookumz)
565
566 1.08 Sparse file support added. Also various other features.
567
568 * diffarch.c (compare_chunk) Include correct arguments in
569 a call to fprintf() for an error msg.
570 (compare_chunks, compare_dir) First argument is a long, not an int.
571
572 * tar.c (options) Use tar variable (argv[0]) as the name to print
573 in an error msg, instead of a constant "tar".
574 (confirm) Use external variable char TTY_NAME[] for name of file
575 to open for confirmation input.
576
577 * buffer.c (new_volume) Ditto.
578
579 * port.c Add declaration for TTY_NAME[].
580
581 * rmt.h Add long declarations for lseek() and __rmt_lseek();
582
583Tue Jan 23 14:06:21 EST 1990 Jay Fenlason (hack@wookumz)
584 * tar.c, create.c Create the +newer-mtime option, which is like
585 +newer, but only looks for files whose mtime is newer than the
586 given date.
587
588 * rtape_lib.c Make *both* instances of signal-handler stuff use
589 void (*foo)() on USG systems.
590
591Thu Jan 11 14:03:45 EST 1990 Jay Fenlason (hack@wookumz)
592
593 * getdate.y Parse European dates of the form YYMMDD.
594 In ftime() Init timezone by calling localtime(), and remember that
595 timezone is in seconds, but we want timeb->timezone to be in minutes.
596 This small patch from Joergen Haegg (jh@aahas.se)
597
598 * rtape_lib.c (__rmt_open) Also look for /usr/bsd/rsh.
599 Declare signal handler as returning void instead of int if USG is
600 defined.
601
602 * port.c Declare WANT_GETWD for SGI 4-D IRIS.
603
604 * Makefile Include defines for SGI 4D version. There are a simple
605 patch from Mike Muuss (mike@brl.mil).
606
607 * buffer.c (fl_read) Work properly on broken Ultrix systems where
608 read() returns -1 with errno==ENOSPC on end of tape. Correctly go
609 on to the next volume if f_multivol.
610
611 * list.c (list_archive,print_header) Flush msg_file after printing
612 messages.
613
614 * port.c Delete unused references to alloca().
615 Don't crash if malloc() returns zero in quote_copy_string.
616 Flush stderr in msg() and msg_perror().
617
618 * tar.c Flush msg_file after printing confirmation msg.
619
620Wed Jan 10 01:58:46 1990 David J. MacKenzie (djm at hobbes.ai.mit.edu)
621
622 * tar.c (main): Change -help option and references to it to +help,
623 and remove suggestion to run info (which is unreleased, so not
624 likely to be of any help).
625
626Tue Jan 9 16:16:00 EST 1990 Jay Fenlason (hack @wookumz)
627
628 * create.c (dump_file) Close file descriptor if start_header()
629 fails.
630 (dump_file) Change test for ./ ness to not think that
631 .{any character} is a ./ These are both trivial changes from
632 Piercarlo "Peter" Grandi pcg%cs.aber.ac.uk@nsfnet-relay.ac.uk
633
634 * diffarch.c (diff_init) Print correct number of bytes in error
635 message.
636
637Tue Jan 9 03:19:49 1990 David J. MacKenzie (djm at hobbes.ai.mit.edu)
638
639 * Makefile: Add comment at top noting that two source files also
640 contain #defines that might need to be changed by hand.
641
642 * create.c, diffarch.c, extract.c: Change L_SET to 0 in lseek
643 calls, because only BSD defines it.
644 * create.c (dump_file): Make sparse file checking code conditional
645 on BSD42 because it uses st_blocks, which the other systems lack.
646
647Tue Jan 2 13:35:56 EST 1990 Jay Fenlason (hack@gnu)
648
649 * port.c (quote_copy_string) Fix so it doesn't scramble memory if
650 the last character is non-printable. A trivial fix from Kian-Tat Lim
651 (ktl@wag240.caltech.edu).
652
653Tue Dec 19 11:19:37 1989 Jim Kingdon (kingdon at pogo)
654
655 * port.c [BSD42]: Define DOPRNT_MSG.
656 tar.h [BSD42]: Do not prototype msg{,_perror}.
657
658Fri Dec 8 11:02:47 EST 1989 Jay Fenlason (hack@gnu)
659
660 * create.c (dump_file) Remove typo in msg.
661
662Fri Dec 1 19:26:47 1989 David J. MacKenzie (djm at trix)
663
664 * Makefile: Remove comments referring to certain systems lacking
665 getopt, since it is now provided always and needed by all systems.
666
667 * port.c: Remove copy of getopt.c, as it is now linked in
668 separately to always get the current version.
669
670 * tar.c: Rename +cat-tars option to +catenate or +concatenate,
671 and +local-filesystem to +one-file-system (preferred by rms
672 and used in GNU cp for the same purpose).
673 (describe): Reflect changes.
674
675Tue Nov 28 04:28:26 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
676
677 * port.c: Move declaration of alloca into #else /* sparc */
678 so it will compile on sparcs.
679
680Mon Nov 27 15:17:08 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
681
682 * tar.c (options): Remove -version option (replaced by +version).
683 (describe): Mention long options.
684
685Sat Nov 25 04:25:23 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu)
686
687 * getoldopt.c (getoldopt): Make `opt_index' argument a pointer to
688 an int, not char.
689
690 * tar.c: Modify long options per rms's suggestions:
691 Make preserve-permissions an alias for same-permissions.
692 Make preserve-order an alias for same-order.
693 Define preserve to mean both of those combined.
694 Make old an alias for old-archive.
695 Make portability an alias for old-archive, also.
696 Rename sym-links to dereference.
697 Rename gnudump to incremental.
698 Rename filename to file.
699 Make compare an alias for diff. Leave diff but prefer compare.
700 Rename blocking-factor to block-size.
701 Rename chdir to directory.
702 Make uncompress an alias for compress.
703 Rename confirm to interactive.
704 Make get an alias for extract.
705 Rename volume-header to volume.
706
707 Also make +version an alias for -version.
708
709 (options): Shorten code that interprets long options by using
710 the equivalent short options' code. This also makes it tons
711 easier to change the long options.
712
713 (describe): Make usage message more internally consistent
714 stylistically.
715
716Mon Nov 20 14:55:39 EST 1989 hack@ai.mit.edu
717
718 * list.c (read_and) Call check_exclude() to see if the files
719 should be skipped on extract or list.
720
721Thu Nov 9 18:59:32 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu)
722
723 * buffer.c (fl_read): Fix typos in error message
724 "tar EOF not on block boundary".
725
726Mon Oct 23 13:09:40 EDT 1989 (hack@ai.mit.edu)
727
728 * tar.c (long_options[]) Add an option for blocked compression.
729
730Thu Oct 19 13:38:16 EDT 1989 (hack@ai.mit.edu)
731
732 * buffer.c (writeerror) Print a more useful error msg.
733
734Wed Sep 27 18:33:41 EDT 1989 (hack@ai.mit.edu)
735
736 * tar.c (main) Mention "tar -help" if the luser types a non-workable
737 set of options.
738
739Mon Sep 11 15:03:29 EDT 1989 (hack@ai.mit.edu)
740
741 * tar.c (options) Have -F correctly set info_script.
742
743Tue Aug 29 12:58:06 EDT 1989 (hack@ai.mit.edu)
744
745 * Makefile Include ChangeLog in tar.tar and tar.tar.Z
746
747Mon Aug 28 17:42:24 EDT 1989 (hack@ai.mit.edu)
748
749 * tar.c (options) Made -F imply -M
750 Also remind tar that the -f option takes an argument!
751
752 * Modified -F option to make it do what (I think) it
753 should. e.g, if you say -F, tar won't send a msg to
754 msg_file and wait for a <return> It'll just run the program
755 it was given, and when the prog returns, the new tape had
756 *better* be ready. . .
757
758 * buffer.c (open_archive) Give error message and abort if
759 the luser didn't give an archive name.
760
761Fri Aug 25 20:05:27 EDT 1989 Joy Kendall (jak at hobbes)
762
763 * Added code to make a new option to run a specified script
764 at the end of each tape in a multi-volume backup. Changed:
765 tar.c: made new switch, -F, and new long-named option,
766 "info-script". Code is where you would expect.
767 tar.h: added flag f_run_script_at_end, and an extern char *
768 called info_script, which optarg gets set to.
769 buffer.c: line 1158 in new_volume(): if f_run_script_at_end
770 is set, we give info_script to system(), otherwise we do
771 what we've always done. **FIXME** I'm not sure if that's all
772 that has to be done here.
773
774Thu Aug 24 10:09:38 EDT 1989 Joy Kendall (jak at spiff)
775(These changes made over the course of 6/89 - 8/89)
776
777 * diffarch.c: diff_archive: Added switches for LF_SPARSE in the
778 case statements that needed it. Also, skip any extended headers
779 if we need to when we skip over a file. (need to change
780 the bit about, if the size doesn't agree AND the file is NOT
781 sparse, then there's a discrepancy, because I added another
782 field to the header which should be able to deal with the
783 sizes) If the file is sparse, call the added routine
784 "diff_sparse_files" to compare. Also added routine
785 "fill_in_sparse_array".
786
787 * extract.c: extract_archive: added the switch LF_SPARSE
788 to the case statement as needed, and code to treat the
789 sparse file. At label "again_file", modified opening the
790 file to see if we should have O_APPEND be one of the modes.
791 Added code at label "extract_file" to call the new routine
792 "extract_sparse_file" when we have an LF_SPARSE flag.
793
794 Note: really should erase the commented-out code in there,
795 because it's confusing.
796
797 * update.c: made sure that if a file needed to be "skipped"
798 over, it would check to see if the linkflag was sparse, and
799 if so, would then make sure to skip over any "extended
800 headers" that might come after the header itself. Do so by
801 calling "skip_extended_headers".
802
803 * create.c: create_archive: added code to detect a sparse
804 file when in the long case statement. Added ways to detect
805 extended headers, and label "extend" (ack! should get rid of
806 that, is atrocious). Call the new routine "finish_sparse_file"
807 if the linkflag is LF_SPARSE to write the info to the tape.
808 Also added routines "init_sparsearray", "deal_with_sparse",
809 "clear_buffer", "where_is_data", "zero_record", and
810 "find_new_file_size".
811
812 * tar.h: Added the #define's SPARSE_EXT_HDR and
813 SPARSE_IN_HDR. Added the struct sparse and the struct
814 sp_array. Added the linkflag LF_SPARSE. Changed the tar
815 header in several ways:
816 - added an array of struct sparse's SPARSE_IN_HDR long
817 - added a char flag isextended
818 - added a char string realsize to store the true
819 size of a sparse file
820 Added another choice to the union record called a
821 struct extended_header, which is an array of 21 struct
822 sparse's and a char isextended flag. Added flag
823 f_sparse_file to list of flags.
824
825 * tar.c: added long-named options to make tar compatible with
826 getopt_long, changed Makefile.
827
828... ... .. ..:..:.. ... .... Jay Fenlason (hack@ai.mit.edu)
829
830 1.07 New version to go on beta tape with GCC 1.35
831 Better USG support. Also support for __builtin_alloca
832 if we're compiling with GCC.
833 diffarch.c: Include the correct header files so MTIOCTOP
834 is defined.
835 tar.c: Don't print the verbose list of options unless
836 given -help. The list of options is *way* too long.
837
838 1.06 Use STDC_MSG if __STDC__ defined
839 ENXIO meand end-of-volume in archive (for the UNIX PC)
840 Added break after volume-header case (line 440) extract.c
841 Added patch from arnold@unix.cc.emory.edu to rtape_lib.c
842 Added f_absolute_paths option.
843 Deleted refereces to UN*X manual sections (dump(8), etc)
844 Fixed to not core-dump on illegal options
845 Modified msg_perror to call perror("") instead of perror(0)
846 patch so -X - works
847 Fixed tar.c so 'tar cf - -C dir' doesn't core-dump
848 tar.c (name_match): Fixed to chdir() to the appropriate
849 directory if the matching name's change_dir is set. This
850 makes tar xv -C foo {files} work.
851
852 1.05 A fix to make confirm() work when the archive is on stdin
853 include 'extern FILE *msg_file;' in pr_mkdir(), and fix
854 tar.h to work with __STDC__
855
856 Added to port.c: mkdir() ftruncate() Removed: lstat()
857 Fixed -G to work with -X
858 Another fix to tar.texinfo
859 Changed tar.c to say argv[0]":you must specify exactly ...
860 buffer.c: modified child_open() to keep tar from hanging when
861 it is done reading/writing a compressed archive
862 added fflush(msg_file) before printing error messages
863 create.c: fixed to make link_names non-absolute
864
865 1.04 Added functions msg() and msg_perror() Modified all the
866 files to call them. Also checked that all (I hope)
867 calls to msg_perror() have a valid errno value
868 (modified anno() to leave errno alone), etc
869 Re-fixed the -X option. This time for sure. . .
870 re-modified the msg stuff. flushed anno() completely
871 Modified the directory stuff so it should work on sysV boxes
872 added ftime() to getdate.y
873 Fixed un_quote_string() so it won't wedge on \" Also fixed
874 \ddd (like \123, etc)
875 More fixes to tar.texinfo
876
877 1.03 Fixed buffer.c so 'tar tzf NON_EXISTENT_FILE' returns an error
878 message instead of hanging forever
879 More fixes to tar.texinfo
880
881 1.02 Fixed tar.c so 'tar -h' and 'tar -v' don't cause core dump
882 Also fixed the 'usage' message to be more up-to-date.
883 Fixed diffarch.c so verify should compile without MTIOCTOP
884 defined
885
886 1.01 Fixed typoes in tar.texinfo
887 Fixed a bug in the #define for rmtcreat()
888 Fixed the -X option to not call realloc() of 0.
889
890 Version 1.00: version.c added. -version option added
891 Installed new version of the remote-tape library
892 Added -help option
893\f
894Local Variables:
895mode: indented-text
896left-margin: 8
897version-control: never
898End: