1Sat Jun 18 16:05:15 1994 Thos Sumner (thos@bsdserver.ucsf.edu) 2 3 * Added documentation files, tar.1 and tar.5, based partly 4 on John Gilmore's 1987 pdtar documentation. 5 6Thu Mar 25 13:32:40 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 7 8 * version.c: Released version 1.11.2. 9 10 * Makefile.in (dist): Do the link differently; some of the 11 files have changed filesystems which makes it more complex. 12 13 * Makefile.in (dist, shar): Use gzip instead of compress. 14 15 * create.c (dump_file): Test for curdev==-1, not curdev<0. 16 Some losing NFS systems give negative device numbers 17 sometimes. 18 19Thu Mar 25 11:55:15 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 20 21 * level-0, level-1 (TAR_PART1): Use `--block-size', not just 22 `--block', which is now ambiguous. 23 24Wed Mar 24 22:12:51 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 25 26 * backup-specs (TAR): New variable. 27 28 * level-0, level-1 (TAR_PART1): Get path of GNU tar from `TAR' 29 variable, don't hardcode it. 30 31Sat Mar 20 00:20:05 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 32 33 * backup-specs (SLEEP_MESSAGE): put backslashes in front of nested 34 double quotes. 35 36 * level-0, level-1 (BACKUP_DIRS): Don't put in quotes. 37 (LOGFILE): Use sed to construct name, not awk. 38 39 * dump-remind (recipients): Replaced inefficient pipeline with a 40 single, simple sed script. 41 (volno): Deal with the possibility that VOLNO_FILE may not be 42 created yet. 43 44Fri Mar 19 15:05:15 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 45 46 * backup-specs (VOLNO_FILE): Removed abusive comment by Noah. 47 48 * buffer.c (new_volume): Write the global volume number to the 49 volno file before running the info script, so that the script 50 can look at it. 51 52Thu Mar 18 20:11:54 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 53 54 * Makefile.in (AUX): Include `dump-remind' in distribution. 55 56 * backup-specs (SLEEP_MESSAGE): New variable. 57 level-0, level-1: Use it instead of external `dont_touch' file. 58 59 * level-0, level-1: Put most of the script in () and pipe 60 everything from the subshell through tee -a $LOGFILE. Since you 61 really want most of the output to go to the logfile anyway, and 62 since all those pipelines were preventing one from getting the 63 exit status of most commands, this seems like the right idea. 64 65 * level-0, level-1 (LOGFILE): Use YYYY-MM-DD (all numeric) format 66 for log file name, since that makes the file names sortable in a 67 coherent way. Suffix should always be `level-n' where n is the 68 dump level. level-0 script was just using `-full' instead. 69 70 * level-0, level-1 (DUMP_LEVEL): New variable. Set to `0' or `1' 71 in each script as appropriate. 72 73 * level-0, level-1 (HOST): Renamed to `localhost' for clarity. 74 (host): renamed to `remotehost' for clarity. 75 76 * level-0, level-1 (startdate): New variable. Use it in Subject 77 line of mailed report. 78 79 * level-0, level-1: Fixed all instances where sed is called with a 80 script on the command line to use `-e' option. 81 82 * level-0, level-1: Don't try to call logfile.sed to filter 83 LOGFILE. It's not distributed with tar and was never really used 84 anyway. 85 86 * level-0, level-1: Put quotes around most variable names (barring 87 those that are known to intentionally contain text that should be 88 expanded into multiple words, like `TAR_PART1'). 89 90 * level-0, level-1: Got rid of annoying trailing backslashes in awk 91 scripts. They were gratuitous. Made them a little more readable 92 by adding some whitespace. 93 94Wed Mar 17 10:30:58 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 95 96 * tar.c (describe, long_options): Changed --compress-block to 97 --block-compress. 98 (options): Fixed f_compress_block sanity check error message 99 to give the correct name of the option. 100 101Tue Mar 16 14:52:40 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 102 103 * extract.c (extract_archive): case LF_DIR: Do chown when 104 necessary. Don't bother jumping to set_filestat for 105 f_modified; repeat the chmod code here. Replace `break', 106 deleted on 2 September 1992. 107 108 * tar.c (describe, long_options, options): Added gzip options 109 and use-compress-program option. 110 * tar.h: Added new compression options. 111 * buffer.c (child_open, open_archive): Use new compression options. 112 113 * create.c (start_header): Only mask off high bits when 114 creating old-style archives. 115 * list.c (decode_header): Mask off potentially misleading 116 high bits from the mode when reading headers. 117 118Mon Mar 15 11:34:34 1993 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 119 120 * extract.c (extract_archive): Put arguments in the right 121 order for error message. 122 123 * create.c (deal_with_sparse): if the last byte was null, we 124 didn't write it out. 125 126 * gnu.c, create.c, extract.c, diffarch.c, list.c throughout: 127 Replace malloc calls with ck_malloc and realloc with ck_realloc. 128 129 * tar.c (describe): Improve doc for -L. 130 131 * tar.c (name_next): Don't apply exclusion to explicitly named 132 files. 133 134 * tar.c (long_options, describe): Added new-volume-script as 135 an alias for info-script. 136 137 * extract.c (extract_archive): LF_DUMPDIR case; misplaced paren. 138 139 * extract.c (extract_archive): extract_file case, first if, 140 include space for null in namelen computation. 141 142 * extract.c (extract_sparse_file): Use value returned by write 143 to properly create error message. 144 145 * create.c (create_archive): Don't assume we have anything to 146 dump. 147 148 * buffer.c (open_archive): Set current_file_name for the 149 volume header so that verbose listings work properly. 150 151 * Makefile.in (realclean): Added getdate.c. 152 153Thu Jan 14 23:38:44 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu) 154 155 * tar.c: Include fnmatch.h after port.h to make sure we get our FNM_* 156 (e.g. on HPUX 8). 157 158Tue Nov 24 08:30:54 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) 159 160 * tar.c (addname), gnu.c (read_dir_file): Use HAVE_GETCWD, not USG. 161 162 * port.h, rmt.h: Use HAVE_STRING_H, not USG. 163 164 * port.h: Add dir header decls. 165 * create.c, gnu.c: Use SYSNDIR, SYSDIR, and NDIR 166 instead of BSD42 and USG. Rename DP_NAMELEN to NLENGTH. 167 Use `struct dirent' instead of `struct direct'. 168 * create.c, gnu.c, tar.c: Remove dir header decls. 169 170Wed Nov 18 15:31:30 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) 171 172 * tar.c: Change FNM_TARPATH to FNM_LEADING_DIR to match change 173 in fnmatch.[ch]. 174 175Wed Oct 21 00:52:24 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 176 177 * level-0, level-1: put curly braces around variables for clarity. 178 179 * backup-specs (DUMP_REMIND_SCRIPT): define it (but commented out 180 so that distributed dump scripts won't use it by default). 181 level-0, level-1 (TAR_PART1): use --info-script if 182 DUMP_REMIND_SCRIPT is defined. 183 dump-remind: new file (intended as an example). 184 185Thu Oct 15 03:33:28 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 186 187 * level-0, level-1: remove $LOGFILE.tmp files before exiting. 188 189Fri Oct 2 00:28:01 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) 190 191 * tar.c (describe): Fix some tab alignments. 192 193 * Makefile.in (SRC3): Add getdate.c, for systems without bison/yacc 194 (like MS-DOS). 195 196 * diffarch.c (diff_sparse_files): Add missing arg to fprintf calls. 197 198 * extract.c (extract_archive, restore_saved_dir_info), 199 buffer.c (child_open), list.c (decode_header, print_header): 200 Delete unused vars. 201 202 * port.c [__MSDOS__]: Have strstr, rename, and mkdir. Don't 203 define ck_pipe. 204 205 * buffer.c, tar.c (init_volume_number, closeout_volume_number), 206 create.c (write_long): Declare as void, not int, since they 207 don't return a value. 208 209Thu Sep 24 00:06:02 1992 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 210 211 * level-0, level-1 (TAR_PART1): remove --atime-preserve 212 because of a total screw. 213 214Tue Sep 22 14:15:48 1992 Michael I Bushnell (mib@wookumz.gnu.ai.mit.edu) 215 216 * buffer.c (close_archive): Removed leftover `break' from when 217 this was a switch. 218 219Tue Sep 22 08:33:16 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 220 221 * create.c, port.h: indented #pragma directives with 1 space. 222 223Fri Sep 18 14:15:17 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 224 225 * All source files: re indented using GNU indent. 226 227 * rtapelib.c (__rmt_read): Only read the amount left in the 228 buffer; otherwise a broken rmt server (which puts too much 229 data out) could overwrite past our buffer. 230 231Thu Sep 17 14:08:58 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 232 233 * create.c: Throughout, use struct utimbuf rather than array 234 of longs. 235 236 * configure.in: Check for getpwuid and getgrgid. 237 238 * Makefile.in (SRC3, AUX): Move alloca.c to SRC3. 239 (OBJ3): Add @ALLOCA@. 240 241 * Makefile.in (getdate.c): Look in srcdir for getdate.y. 242 243 * buffer.c (close_archive): We can't check WTERMSIG 244 meaningfully unless we already know tha WIFSIGNALED is true. 245 (There is no guarantee it WTERMSIG will return zero when 246 WIFSIGNALED is false.) 247 * port.c (rmdir, mkdir): Check WIFSIGNALED rather than 248 WTERMSIG. 249 250 * Makefile.in (getdate.c): Use $(YACC) instead of `yacc'. 251 252Tue Sep 15 14:49:48 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 253 254 * version.c: Released version 1.11.1. 255 256 * Makefile (AUX): Added NEWS. 257 258 * Makefile.in (rmt): Added $(LIBS). 259 * configure.in: Added tests for libraries needed on Solaris. 260 261 * mangle.c (extract_mangle): Null terminate link name for 262 losing archives missing it. 263 264 * Makefile.in: added target and rule for getdate.c: getdate.y; 265 some makes don't have one built in. 266 267Mon Sep 14 16:23:15 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 268 269 * tar.c (options, main): Advise use of --help rather than 270 +help. 271 272 * create.c (write_long): Using hstat here is a Bad Idea, and 273 totally unnecessary at that. 274 275 * list.c (read_header): Compute both signed and normal 276 checksums. 277 278 * configure.in: Define BSD in the presence of /sdmach or 279 /../../mach. 280 281 * diffarch.c, buffer.c: Declare valloc as void* rather than 282 char*. 283 284 * Makefile.in: Don't install info files. 285 286 * configure.in: Check for malloc was scrambled. 287 288 * port.h: Undefine index and rindex if necessary; some 289 string.h's define them for us. 290 291 * tar.c (addname): Missing braces after if. 292 * gnu.c (read_dir_file): Missing braces after if. 293 294 * names.c: Add include of <stdio.h>, 295 296 * create.c (start_header): Set current_file_name so that 297 print_header (used for verbose create) works properly. 298 (dump_file): Set current_link_name when setting up symlink 299 and hardlink records. 300 301Fri Sep 11 01:05:52 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) 302 303 * fnmatch.[ch]: New files. 304 * wildmat.c: File removed. 305 * tar.c: Include fnmatch.h and use fnmatch instead of wildmat. 306 * Makefile.in, makefile.pc: Replace wildmat.o(bj) with fnmatch. 307 308Thu Sep 10 23:19:30 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) 309 310 * buffer.c, tar.c: Remove redundant decls of getenv, rindex. 311 312 * Makefile.in: Add uninstall target. 313 Define libdir instead of hardcoding /etc for installing rmt. 314 315Thu Sep 10 13:06:03 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 316 317 * list.c (read_header): On second thought, that doesn't work 318 either, so just store the names in malloced areas. Sigh. 319 320 * NEWS: New file. 321 * README: Removed things that belong in NEWS; point to it. 322 323 * list.c (read_header): current_file_name and 324 current_link_name need to be set to the arrays in head rather 325 than header; header is the actual read buffer and will change. 326 327 * extract.c (extract_archive): 328 * buffer.c (new_volume): `#' directives need to start in 329 column 1. 330 331Thu Sep 10 06:09:18 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 332 333 * level-0, level-1 (TAR_PART1): put --atime-preserve inside quotes. 334 335Wed Sep 9 13:34:26 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 336 337 * Makefile.in (AUX): Add getpagesize.h. 338 (AUX): Comment out manuals. 339 (all): Comment out dependency on tar.info. 340 341 * version.c: Release of version 1.11. 342 343 * level-0, level-1 (TAR_PART1): Use --atime-preserve. 344 345 * Makefile, configure.in: Arrange to use local malloc on HP-UX. 346 347 * port.h Use the canonical Autoconf chunk for alloca instead 348 of just looking for gcc. 349 350Wed Sep 9 03:16:58 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 351 352 * port.h: If compiling with gcc, use __builtin_alloca. 353 354Tue Sep 8 16:13:41 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 355 356 * extract.c: Removed long name support from here. 357 * list.c (read_header): Understand and skip longname/longlink 358 headers here. Names for current file are stored in new global 359 variables. All source files except create.c changed to refer 360 to current_file_name and current_link_name instead of fields 361 directly from the current header. 362 363Thu Sep 3 12:41:08 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 364 365 * create.c (write_long): New function. 366 (dump_file): When writing link records or symlink records, use 367 new write_long function instead of mangling when the link 368 target is too long. 369 (start_header): Use write_long instead of mangling for long 370 names. 371 * extract.c (saverec): Recognize LF_LONGNAME and LF_LONGLINK. 372 (saverec): Throughout, use longname and longlink if they are set. 373 374Wed Sep 2 14:41:13 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 375 376 * mangle.c: This is now deprecated; retain extract_mangle for 377 backward compatability. 378 379 * list.c (print_header): patch from Chris Arthur to prevent 380 printing 0 when the gid or uid is null. 381 382 * list.c (decode_header): patch from Chris Arthur to use the 383 gid field when the gid is empty, and similarly for uid. 384 385 * extract.c: saved_dir_info, saved_dir_info_head: new type and 386 var. 387 (extract_archive): When extracting directories, now save info 388 in saved_dir_info_head. 389 (restore_saved_dir_info): New function. 390 * list.c (read_and): Call restore_saved_dir_info at the end of 391 the run. 392 This patch is from Chris Arthur (csa@pennies.sw.stratus.com). 393 394Mon Aug 31 15:39:55 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 395 396 * create.c (create_archive): If there are no names specified, 397 write nothing on the archive instead of dumping ".". 398 399 * buffer.c (open_archive): Useful error message. 400 401 * tar.c, tar.h: Recognize f_atime_preserve. 402 * create.c (dump_file): Implement f_atime_preserve. 403 404 * rmt.h (_remdev): Don't require /dev/ to be in remote archive 405 names; obey new force-local flag. 406 * tar.c, tar.h: Implement new force-local flag. 407 408 * tar.c (describe): same-owner and same-order were confused. 409 410 * create.c (dump_file): Check for toplevel had sense reversed. 411 412 * buffer.c (new_archive): Don't free old_name...when these 413 come from the command line, they aren't malloced, and it isn't 414 important to save this trivial amount of memory. 415 416 * tar.h: replace ar_file with ar_files, n_ar_files, 417 cur_ar_files. 418 * buffer.c (open_archive): multi-volume compressed archives 419 never worked; give an appropriate error. Change open of 420 ar_file to open of ar_files[0]. 421 (writeerror, readerror, flush_archive): use 422 ar_files[cur_ar_file] instead of ar_file. 423 (new_archive): Necessary changes to support ar_files. 424 * tar.c (options): handle multiple tape drive arguments. 425 426Fri Aug 28 17:42:13 1992 Michael I Bushnell (mib@wookumz.gnu.ai.mit.edu) 427 428 * list.c (decode_header), create.c (start_header), tar.h (TMAGIC): 429 Undo djm's changes below; tar does not support the final 430 Posix.1 format; it's bad to make it look like it does. 431 432Sun Jul 19 02:13:46 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) 433 434 * port.h: Try to prevent redefining major. 435 * port.c: HAVE_BZERO -> minix. Fix a typo. 436 437 * list.c (decode_header): Recognize the final POSIX.1 magic as 438 well as the early draft magic for ustar. 439 * create.c (start_header): Create a final POSIX.1 magic string 440 instead of an early draft string for ustar. 441 * tar.h (TMAGIC): Remove the trailing blanks. 442 443 * rmt.c, rtapelib.c: Use POSIX and STDC headers if available. 444 * rmt.h: Declare the external functions defined in rtapelib.c. 445 446Tue Jul 14 00:44:37 1992 David J. MacKenzie (djm@apple-gunkies.gnu.ai.mit.edu) 447 448 * pathmax.h: New file. 449 * port.h: Include it. 450 * create.c (create_archive): Allocate PATH_MAX instead of 451 NAME_MAX for temporary buffer so we don't have to figure out 452 what NAME_MAX is (portably). 453 454Fri Jul 10 08:30:42 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 455 456 * gnu.c (collect_and_sort_names): write_dir_file has no argument. 457 458 * level-0, level-1: Avoid silly Sun awk lossage. 459 460Mon Jul 6 20:11:32 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) 461 462 * port.c (rename): If unlinking the source at the end fails, 463 unlink the destination instead to avoid leaving a mess. 464 465Fri Jul 3 15:16:42 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) 466 467 * buffer.c, diffarch.c, update.c, rtapelib.c: Change NO_MTIO to 468 HAVE_SYS_MTIO_H. 469 470 * port.c, tar.h: Change FOO_MISSING to HAVE_FOO. 471 472Tue Jun 23 23:39:02 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu) 473 474 * rmt.c: Add #ifdefs to work on ISC. 475 476Wed May 20 00:12:27 1992 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu) 477 478 * port.h: Define major, minor, makedev if the system doesn't. 479 480Wed May 13 21:16:38 1992 Michael I Bushnell (mib@apple-gunkies.gnu.ai.mit.edu) 481 482 * gnu.c (add_dir_name): Store legitimate value into 483 dir_contents when get_dir_contents returns NULL. 484 485Thu May 7 23:44:35 1992 Michael I Bushnell (mib@apple-gunkies.gnu.ai.mit.edu) 486 487 * gnu.c (add_dir_name): Check for return of NULL from get_dir_contents; 488 see djm's change of Fri Jul 26 01:12:58 1991. 489 490Mon May 4 22:50:57 1992 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu) 491 492 * tar.h: Make comments for option names say -- instead of +. 493 494Thu Apr 30 03:09:16 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu) 495 496 * level-1: Added `$' before VOLNO_FILE in definition of TAR_PART1. 497 Added line to remove $VOLNO_FILE from any previous dump before 498 starting. 499 500 * level-0, level-1: Change long options to use `--' instead of `+' 501 (support for `+' will go away soon) 502 503Wed Apr 29 14:23:10 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 504 505 * tar.c, tar.t: Added +volno-file option. 506 buffer.c: New functions init_volume_number, 507 closeout_volume_number. 508 tar.c (main): Call new functions in the right place. 509 510 * buffer.c (fl_write, fl_read): Mod to allow losing tape 511 drives which use short counts to indicate end of tape 512 correctly handle the multi-tape stuff. The read half won't 513 co-exist with f_reblock; there's no way to fix that, of 514 course. 515 516 * tar.c, tar.h: Added new option +show-omitted-dirs, from 517 Karl Berry. 518 list.c (read_and): Implemented show-omitted-dirs. 519 520 * tar.c, tar.h: Added new option +checkpoint. 521 buffer.c (fl_read, fl_write): Implemented +checkpoint lazily. 522 523 * create.c (dump_file): Added toplevel argument; some devices 524 can be negative, so the old method was bogus. All callers 525 changed. 526 527 * tar.c, tar.h: Added new option +ignore-failed-read. 528 create.c (dump_file): Implemented +ignore-failed-read. 529 530 * create.c (finish_sparse_file): Commented out debugging printf. 531 532 * tar.c, tar.h: Added new option +remove-files to delete files 533 after they are added to the archive. 534 create.c (dump_file): Implemented +remove-files for 535 everything but directories. I don't think they need it. 536 537Tue Apr 28 13:21:42 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 538 539 * create.c: (dump_file): save_name needs to be set equal to p, 540 not something inside the header, because the header changes at 541 the first buffer flush. 542 543Fri Apr 24 10:41:13 1992 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 544 545 * create.c: Djm incorrectly moved the include of port.h to 546 precede the include of sys/file.h; restored. 547 548 * tar.c (main): Cases CMD_EXTRACT and CMD_LIST: declare error 549 string with const. 550 551 * gnu.c (collect_and_sort_names): Leave if around 552 write_dir_file in place. 553 554Wed Apr 22 02:16:14 1992 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu) 555 556 * rtapelib.c: SIGTYPE -> RETSIGTYPE. 557 558Mon Mar 9 22:42:05 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) 559 560 * rtapelib.c: Reformat and make comments more complete. 561 Rename a few variables for clarity. 562 563Thu Mar 5 14:07:34 1992 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) 564 565 * tar.c (describe): Document long options as starting with --. 566 567Thu Jan 23 22:54:41 1992 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 568 569 * tar.c (options): Check get_date return value for error indication. 570 571Tue Dec 24 00:03:03 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 572 573 * tar.c, gnu.c, extract.c, create.c, port.h, rmt.h: Change 574 POSIX ifdefs to HAVE_UNISTD_H and _POSIX_VERSION. 575 576Fri Dec 20 13:50:38 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 577 578 * testpad.c (main): flush stderr so perror and fprintf 579 cooperate right. 580 581Wed Dec 18 16:52:42 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 582 583 * port.h: Check MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS to find 584 where to get major, minor and makedev. 585 * create.c, list.c, update.c: Don't check USG to include 586 sys/sysmacros.h. 587 588Thu Dec 12 21:57:10 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 589 590 * mangle.c (extract_mangle): Correctly null terminate name of 591 link target. 592 593Thu Nov 21 07:44:18 1991 Michael I Bushnell (mib at nutrimat) 594 595 * create.c (dump_file, at start of ISREG output loop): use 596 filename from header instead of real name to make sure that we 597 get the mangled version and not one that is too long and 598 overflows buffers. 599 600Sat Nov 16 01:37:45 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 601 602 * tar.h: Use new criteria for STDC version of msg. 603 604Sat Nov 2 21:31:57 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 605 606 * create.c, gnu.c, tar.c: Use DIRENT instead of NDIR to select 607 between dirent.h and ndir.h for USG. 608 609 * port.c: Rename WANT_FOO to FOO_MISSING to make sharing code 610 and configure script with other utilities easier. Use 611 VPRINTF_MISSING and DOPRNT_MISSING instead of FOO_MSG to 612 select error reporting routines. 613 614Thu Oct 17 20:19:02 1991 Michael I Bushnell (mib at churchy.gnu.ai.mit.edu) 615 616 * level-0: Repair damage from previous mod: stdin to rsh must 617 be the terminal or tar's questions lose. 618 619Sat Aug 31 15:05:27 1991 Noah Friedman (friedman at nutrimat.gnu.ai.mit.edu) 620 621 * level-0: Fixed several syntax errors associated with 622 stdout/stderr redirection. 623 Made sure remote host executes commands from sh where redirection 624 is necessary, since root's shell might be csh in some places and 625 the redirect syntax differs. 626 627Thu Aug 29 00:54:01 1991 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 628 629 * tar.c (long_options). Fixed info-script long option. 630 631Mon Aug 26 16:53:50 1991 David J. MacKenzie (djm at pogo.gnu.ai.mit.edu) 632 633 * configure, Makefile.in: Only put $< in Makefiles if VPATH 634 is being used, because older makes don't understand it. 635 636Mon Aug 19 01:47:57 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 637 638 * create.c: Indent '#pragma alloca' so non-ANSI compilers 639 don't choke on it. 640 641Wed Aug 14 14:10:43 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) 642 643 * list.c (UGSWIDTH): Increase from 11 (sort of like Unix tar) to 644 18, so that with normal user and group names of <= 8 chars, 645 the columns never shift in a tar -t listing. 646 647Fri Aug 2 00:41:08 1991 David J. MacKenzie (djm at apple-gunkies) 648 649 * Makefile.in (dist): Include texinfo.tex and tar.info*. 650 (install): Install tar.info*. 651 * configure: Set INSTALLDATA. 652 653 * configure: Create config.status. Remove it and Makefile if 654 interrupted while creating them. 655 656 * configure: Check for +srcdir etc. arg and look for 657 Makefile.in in that directory. Set VPATH if srcdir is not `.'. 658 * Makefile.in: Add `prefix'. 659 (tar.info): New target. 660 661Tue Jul 30 17:08:04 1991 David J. MacKenzie (djm at apple-gunkies) 662 663 * configure: NEED_TZSET has become FTIME_MISSING. 664 665Mon Jul 29 19:23:10 1991 David J. MacKenzie (djm at wombat.gnu.ai.mit.edu) 666 667 * port.c [F_CHSIZE]: Additional version. 668 669Sat Jul 27 22:27:47 1991 David J. MacKenzie (djm at wombat.gnu.ai.mit.edu) 670 671 * rmt.h: Clean up ifdefs. 672 673 * makefile.pc: Fix typo. 674 port.h: Change MSDOS to __MSDOS__. 675 [__MSDOS__]: Define off_t. Include io.h and not sys/param.h. 676 [__TURBOC__]: Use void * and don't define const. 677 678Fri Jul 26 01:12:58 1991 David J. MacKenzie (djm at bleen) 679 680 * buffer.c: Rename `eof' to `hit_eof' to avoid conflict with an 681 MSDOS function. 682 * gnu.c (get_dir_contents): Return NULL, not "\0\0\0\0", on error. 683 * diffarch.c (diff_archive): Open files in binary mode. 684 Don't use or free a non-malloc'd return value from get_dir_contents. 685 * msd_dir.c [__TURBOC__]: Include stdlib.h. 686 * rmt.h: lseek returns off_t, not long. 687 688 * tar.c (describe): -X is +exclude-from, not +exclude. 689 (names_notfound): Free memory only if amiga, not !unix. 690 691 * tar.h, tar.c: Add +null option to make -T read 692 null-terminated filenames (such as those produced by GNU find 693 -print0), and disable -C option. 694 This guarantees that odd filenames will get archived. 695 * tar.c (read_name_from_file): New function. 696 (name_next): Call it instead of fgets. 697 698Wed Jul 24 11:17:48 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 699 700 * create.c [_AIX]: Declare alloca. 701 702 * buffer.c (open_archive): Check for successful open before, 703 not after, fstatting the fd. 704 705Tue Jul 23 20:51:31 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 706 707 * configure: Only define BSD42 if sys/file.h exists. 708 If alloca is missing and /usr/ucblib exists (SVR4), use it 709 instead of -lPW. 710 711 * port.h [!__STDC__]: #define const. 712 * gnu.c (dirent_cmp): Fix args to agree with ANSI C prototype. 713 * create.c: Declare ck_realloc. 714 * gnu.c, diffarch.c: Move check for symlinks to after port.h include. 715 716Sat Jul 20 00:03:54 1991 David J. MacKenzie (djm at apple-gunkies) 717 718 * msd_dir.[ch]: Use POSIX-style `struct dirent' instead of 719 `struct direct'. 720 * create.c, gnu.c, tar.c: Adjust callers. 721 722Thu Jul 18 00:05:01 1991 David J. MacKenzie (djm at bleen) 723 724 * port.c (ck_malloc, ck_realloc): Return PTR, not char *. 725 * gnu.c, create.c, tar.c: Fix decls. 726 727 * port.c: Don't use the preprocessor to guess missing 728 functions on Unix; let configure do it. 729 [WANT_GETWD] (getwd): Function removed; not needed because 730 getcwd is used if needed. 731 * gnu.c, tar.c: Use getcwd if POSIX. 732 733 * rtapelib.c: Use SIGTYPE instead of testing SIGNAL_VOID. 734 Default to void (more common these days) instead of int. 735 736 * tar.c, gnu.c, mangle.c: Remove VOIDSTAR defn. Use PTR instead. 737 * port.h: Define PTR. 738 739 * gnu.c, tar.c [__MSDOS__ || USG]: Remove incorrect getcwd 740 decl; put correct one in port.h [!POSIX]. 741 742 * tar.c (describe): Print on stdout instead of stderr; it's 743 not so much a usage message (since you have to ask for it 744 explicitly) as on-line help, and you really need to be able to 745 page it because it's more than a screen long. 746 747 * Make #ifdefs for sys/file.h or fcntl.h, directory header, 748 sys/mtio.h consistent between files. Use NO_MTIO instead of 749 tricks with USG and HAVE_MTIO and NO_RMTIOCTL. 750 * Move decls of ANSI C and POSIX functions to port.h and 751 use standard headers to declare them if available 752 [STDC_HEADERS or POSIX]. 753 * Add many missing function declarations and return types. 754 * Some places used __MSDOS__, some MSDOS; standardize on __MSDOS__. 755 * Change S_IF macros to S_IS for POSIX. 756 * port.h: Define appropriate S_IS macros if missing. 757 * port.h: Rename macros for testing exit status to conform to 758 POSIX; use the system's versions if available [POSIX]. 759 * Use POSIX PATH_MAX and NAME_MAX instead of MAXPATHLEN and MAXNAMLEN. 760 * port.h: Define PATH_MAX and NAME_MAX. 761 * create.c, gnu.c, tar.c: Use ck_malloc and free instead of 762 auto arrays of size PATH_MAX or NAME_MAX, since with pathconf 763 they might not be constants. 764 * Move all definitions of O_* to port.h to reduce redundancy. 765 * Make all source files that now need to include port.h do so. 766 * port.c: Remove #undefs of WANT_* so you can use -DWANT_* 767 when compiling, instead of having to edit port.c. 768 [WANT_DUMB_GET_DATE] (get_date): Function removed. 769 Even systems without bison can get bison output and compile it. 770 [WANT_STRING] (index, rindex, bcopy, bzero, bcmp): Functions 771 removed; the translation is now done by macros in port.h. 772 * wildmat.c (wildmat): Use POSIX.2 '!' instead of '^' to negate 773 character classes. 774 775Mon Jul 15 13:47:45 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 776 777 * testpad.c (main): Return type void. 778 779 * port.c [WANT_STRING]: Don't include memory.h if NO_MEMORY_H. 780 781 * create.c (dump_file) [AIX]: Fix typo, `allocate' for `alloca'. 782 * gnu.c (collect_and_sort_names): Move misplaced brace out of #ifdef. 783 From: Minh Tran-Le <TRANLE@intellicorp.com>. 784 785 * configure: Also look in sys/signal.h for signal decl. 786 787Wed Jul 10 01:42:55 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 788 789 * Rename rtape_server.c to rmt.c and rtape_lib.c to rtapelib.c. 790 791 * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL). 792 793Tue Jul 9 01:38:37 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu) 794 795 * Most files: Refer to GPL version 2. 796 * COPYING: Use version 2. 797 798 * port.c [__TURBOC__] (utime): New function. 799 800 * xmalloc: New function (just calls ck_malloc), for alloca.c 801 and bison.simple (in getdate.y output). 802 803 * Makefile.in (AUX): Include alloca.c and tcexparg.c, a 804 command line globber for Turbo C. 805 806Mon Jul 8 14:30:52 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) 807 808 * testpad.c: Open and write to testpad.h instead of stdout, 809 because some MS-DOS makes (Borland's at least) can't do 810 redirection in commands. 811 * Makefile.in: Don't redirect testpad output. 812 813Mon Jul 8 12:56:35 1991 Michael I Bushnell (mib at churchy.gnu.ai.mit.edu) 814 815 * buffer.c (fl_read): Missing \n in printf. 816 817Mon Jul 8 03:40:28 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) 818 819 * create.c, extract.c, gnu.c, diffarch.c, tar.c: Comment out 820 unused variables. 821 822 * tar.c (options): Cast get_date arg to VOIDSTAR instead of 823 `struct timeb *', since on some non-BSD systems the latter is 824 undefined. 825 826Sat Jul 6 04:53:14 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) 827 828 * Replace Makefile with configure, Makefile.in, and makefile.pc. 829 Update README with current compilation instructions. 830 831 * port.c [WANT_RENAME] (rename): New function. 832 833Wed Jul 3 18:10:52 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 834 835 * testpad.c (main): Avoid warning from some compilers on array 836 address. 837 838 * rtape_server.c (sys_errlist): Should be declared extern. 839 840Mon Jul 1 14:14:06 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 841 842 * Release of version 1.10; appropriate changes to README. 843 844 * create.c: Removed printf's about sparse files. 845 846 * Fix a misplaced quote in level-0 and change some >& into 847 2>&1. 848 849Fri Jun 21 23:04:31 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 850 851 * list.c (skip_extended_headers): Userec was being called in 852 the wrong place. 853 854Thu Jun 20 19:10:35 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu) 855 856 * tar.h: Use ANSI prototypes for msg and msg_perror if 857 STDC_MSG is defined, even if BSD42 is also. 858 859 * Makefile: Replace DESTDIR with bindir. 860 (install): Don't install tar.texinfo. There's no standard 861 place for texinfo files, and /usr/local/man is inappropriate. 862 Add TAGS, distclean, and realclean targets and SHELL= line. 863 864 * version.c: Move old change history to bottom of ChangeLog. 865 866Wed Jun 12 12:43:58 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 867 868 * rtape_lib.c (__rmt_write): #ifdef should reference 869 SIGNAL_VOID, not USG. 870 871Wed Jun 5 14:57:11 1991 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 872 873 * tar.c (name_match, addname): Ugly hack to handle -C without 874 any files specified. 875 tar.h (struct name): New field for ugly hack. 876 877Mon Jun 3 14:46:46 1991 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 878 879 * testpad.c: New file to determine if we need special padding 880 in struct header in tar.h. 881 882 * tar.h (struct header): include padding if necessary, include 883 testpad.h. 884 885 * Makefile: rules to create testpad.h, etc. 886 887Wed May 22 16:02:35 1991 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 888 889 * tar.c (options): -L takes an argument. 890 891 * rtape_lib.c (__rmt_open): add /usr/bin/nsh to the list of 892 remote shell programs. 893 894 * create.c: define MAXPATHLEN if we don't get it from a system 895 header file. 896 897 * create.c (deal_with_sparse): return a real return value if 898 we can't open the file. 899 900 * tar.c (long_options): +newer takes an argument. 901 (describe): fix printing in various trivial ways 902 903Tue May 21 17:15:19 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 904 905 * tar.c (long_options): +get and +concatentate don't require arguments 906 907Mon May 20 15:55:30 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 908 909 * create.c (write_eot): Don't try and write an EOF if we are 910 already at one. 911 912 * port.c (strstr): Looking for null string should return zero. 913 914Sun May 19 22:30:10 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 915 916 * tar.c (options): -l doesn't take an argument 917 918 * Makefile: minor fix for SGI 4D defines from torda@scum.ethz.ch 919 920 * rtape_server.c (main.c): Suggested mod for 386/AIX from 921 Minh Tran-Le. I'm suspicious about this one. 922 923 * create.c (dump_file): Mods from Minh Tran-Le for hidden 924 files on AIX. 925 gnu.c (collect_and_sort_name, get_dir_contents): AIX hidden file mod. 926 927 * tar.c: (name_next): Mod from David Taylor to allow -C inside 928 a file list given to -T. 929 930 * Makefile: Comment describing presence of USE_REXEC. 931 932 * extract.c (extract_archive, case LF_SPARSE): zero check for 933 last element on numbytes needs to look at value after 934 converted from octal. 935 936 * port.c: Don't always demand strstr, check for HAVE_STRSTR 937 instead. 938 Makefile: Comment describing presence of HAVE_STRSTR option. 939 940Sun May 19 18:39:48 1991 David J. MacKenzie (djm at churchy.gnu.ai.mit.edu) 941 942 * port.c (get_date): Renamed from getdate, to avoid SVR4 conflict. 943 * tar.c: Call get_date instead of getdate. 944 945Fri May 10 02:58:17 1991 Noah Friedman (friedman at nutrimat) 946 947 * tar.c: added "\n\" to the end of some documentation strings 948 where they were left off. 949 950Thu May 9 17:28:54 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 951 952 * Makefile: added level-0, level-1, and backup-specs to AUX. 953 * version.c: changed to 1.10 beta. 954 * README: updated for 1.10 beta release. 955 956Tue Apr 2 12:04:54 1991 Michael I Bushnell (mib at godwin) 957 958 * create.c (dump_file): HPUX's st_blocks is in 1024 byte units 959 instead of 512 like the rest of the world, so I special cased 960 it. 961 * tar.c: Undo Noah's changes. 962 963Mon Apr 1 17:49:28 1991 Noah Friedman (friedman at wookumz.gnu.ai.mit.edu) 964 965 (This ought to be temporary until things are fixed properly. ) 966 967 * tar.c: (struct option long_options): flag for "sparse" zero if 968 compiling under hpux. 969 tar.c: (functon options): case 'S' is a no-op if compiling under 970 hpux. 971 972Sat Mar 30 12:20:41 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 973 974 * tar.h: new variable tape_length. 975 976 * tar.c (options): add new option +tape-length / -L. 977 978 * buffer.c (fl_write): Turn #ifdef TEST code for limited tape 979 length on always, for tape-length option. 980 981 * create.c (dump_file): avoid apollo lossage where S_IFIFO == S_IFSOCK. 982 983 * buffer.c: include regex.h 984 * buffer.c (fl_read, open_archive): Use regex routines for 985 volume header match. 986 * xmalloc.c: removed file; wasn't necessary. 987 * tar.c: (main) use ck_malloc instead of xmalloc. 988 989Thu Mar 28 04:05:05 1991 Noah Friedman (friedman at goldman) 990 991 * regex.c, regex.o: New links. 992 * tar.c: include regex.h. 993 * Makefile (OBJ2): Add regex.o. 994 (regex.o, tar.o): Depend on regex.h 995 (SRC2, AUX): Add the new files. 996 997Sat Mar 23 15:39:42 1991 Noah Friedman (friedman at wookumz.gnu.ai.mit.edu) 998 999 * Makefile: added default flags and options for compiling under 1000 hpux. 1001 1002 * Added files alloca.c and xmalloc.c 1003 1004Sat Mar 23 14:35:31 1991 Michael I Bushnell (mib at geech.gnu.ai.mit.edu) 1005 1006 * port.c: Define WANT_VALLOC in HPUX. 1007 1008Fri Mar 15 06:20:15 1991 David J. MacKenzie (djm at geech.ai.mit.edu) 1009 1010 * rtape_lib.c: If USG and not HAVE_MTIO, define NO_RMTIOCTL 1011 automatically. 1012 (_rmt_rexec): Temporarily re-open stdin and stdout to 1013 /dev/tty, to guarantee that rexec() can prompt and read the 1014 login name and password from the user. 1015 From pascal@cnam.cnam.fr (Pascal Meheut). 1016 * Makefile: Mention -DUSE_REXEC. 1017 1018Fri Mar 8 20:15:11 1991 Michael I Bushnell (mib at wookumz.ai.mit.edu) 1019 1020 * tar.h, Makefile: Makefile CPP macro HAVE_SIZE_T might be 1021 useful for some people. 1022 1023 * gnu.c: lstat->stat define where appropriate 1024 1025 * buffer.c (fl_write): keep track of amount written for +totals. 1026 * tar.c, tar.h: set flag f_totals from +totals option 1027 * tar.h (f_totals, tot_written): new variables 1028 * tar.c (main): print total written with CMD_CREATE 1029 1030 * tar.c (main): return appropriate exit status 1031 1032Thu Jan 17 00:50:21 1991 David J. MacKenzie (djm at apple-gunkies) 1033 1034 * port.c: Remove a spurious `+' between functions (a remnant 1035 of a context diff, apparently). 1036 1037Wed Jan 9 19:43:59 1991 Michael I Bushnell (mib at pogo.ai.mit.edu) 1038 1039 * create.c (where_is_data): Rewritten to be better, and then 1040 #ifdef-ed out. 1041 (deal_with_sparse): Severly pruned. Now we write or don't 1042 write only complete blocks, not worrying about partial blocks. 1043 This simplifies calculations, removes bugs, and elides the 1044 second scan through the block. The first was zero_record, the 1045 second was where_is_data. 1046 1047Mon Jan 7 17:13:29 1991 Michael I Bushnell (mib at wookumz.ai.mit.edu) 1048 1049 * create.c (deal_with_sparse): Second computation (for short 1050 reads) of numbytes increment had subtraction backwards. 1051 Need to handle calling where_is_data better when we did a 1052 short read (it might go past the end of the read), also, set 1053 sparsearray[...].offset in this case too. 1054 1055Fri Jan 4 12:24:38 EST 1991 Jay Fenlason (hack@ai.mit.edu) 1056 1057 * buffer.c Return a special error code if the archive you're 1058 trying to read starts with a different label than the one specified 1059 on the command line. 1060 1061Wed Jan 2 12:05:21 EST 1991 Jay Fenlason (hack@ai.mit.edu) 1062 1063 * gnu.c Prepend the current directory to the gnu_dumpfile, so that 1064 -C's won't affect where the output goes. (sigh.) 1065 1066Tue Dec 18 18:05:59 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1067 1068 * (gnu.c) Don't complain if the gnudumpfile we're reading info 1069 from doesn't exist. 1070 1071 * create.c Write out gnudumpfile after finishing writing the archive. 1072 1073 * tar.c Add +exclude FNAME, and make +exclude-from do what +exclude 1074 used to. 1075 1076 Make +version an operation, not an option. 1077 1078 add +confirmation alias for +interactive. 1079 1080Tue Dec 4 13:28:08 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1081 1082 * tar.c (check_exclude) Don't let MUMBLE match MUMBLE.c or fooMUMBLE 1083 but only foo/MUMBLE 1084 1085 * Add the name mangler (mangle.c, plus changes to create.c and 1086 extract.c) 1087 1088 * extract.c Three small patches from Chip Salzenberg 1089 (tct!chip@uunet.uu.net) 1090 1091 Don't complain when extracting a link, IFF it already exists. 1092 1093 Don't complain when extracting a directory IFF it already 1094 exists. 1095 1096 Don't ad u+wx to directories when running as root. 1097 1098 * gnu.c Some changes from Chip Salzenberg to make 1099 +listed-incremental work. 1100 1101 * port.c Add the F_FREESP emulation of the ftruncate syscall. 1102 1103Wed Nov 21 15:57:07 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1104 1105 Remove excess \n from lots of msg() calls. 1106 1107Mon Nov 19 14:09:43 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1108 1109 * tar.c Rename +volume to +label 1110 1111Fri Nov 16 15:43:44 1990 David J. MacKenzie (djm at apple-gunkies) 1112 1113 * tar.c (describe): Include the default values for -b and -f 1114 (as set in the Makefile) in the message. 1115 1116Thu Nov 15 13:36:45 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1117 1118 * extract.c (extract_archive) Do the utime() call before the 1119 chmod() call, 'cuz some versons of utime() trash the file's mode 1120 bits. 1121 1122 * list.c (read_and) Call do_something on volume headers and 1123 multivol files even if they don't match the names we're looking for, 1124 etc. . . 1125 1126Tue Nov 6 13:51:46 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1127 1128 * port.c (un-quote-string) Don't try to write a null 1129 if there's already one there. 1130 1131Thu Nov 1 14:58:57 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1132 1133 * buffer.c (new_volume) fflush(msg_file) before reading for 1134 confirmation on new volume. On EOF or error, print error msg and 1135 abort. 1136 1137Mon Oct 29 12:06:35 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1138 1139 * getdate.y Use new version of getdate(). 1140 1141 * tar.c (name_add) Use sizeof(char *) instead of sizeof(int) 1142 1143 * README give the correct return address. 1144 1145Thu Oct 25 16:03:58 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1146 1147 rtape_lib.c Change RMTIOCTL to NO_RMTIOCTL, so it is on by default. 1148 1149 rmt.h Add _isrmt() #define for NO_REMOTE case. 1150 1151 gnu.c Add forward reference for add_dir_name(). 1152 1153Tue Oct 16 11:04:52 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1154 1155 1.09 New -G file implementation of gnu-dump stuff. 1156 1157 * tar.c (name_add) Get the calls to ck_realloc and ck_malloc right. 1158 1159Thu Oct 11 11:23:38 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1160 1161 * gnu.c Fix A couple of typos. 1162 1163Wed Sep 19 13:35:03 1990 David J. MacKenzie (djm at apple-gunkies) 1164 1165 * getdate.y [USG] (ftime): Use `daylight' unless 1166 DAYLIGHT_MISSING is defined. 1167 1168Mon Sep 17 18:04:21 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1169 1170 * gnu.c (gnu_restore) Don't use a passed char* for the 1171 file name, use skipcrud+head->header.name, just like everything 1172 else does. This means that gnu_restore will still work with 1173 small buffers, etc. 1174 1175Thu Sep 13 15:01:17 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1176 1177 * tar.c (add_exclude) Don't bus-error if the exclude file doesn't 1178 end with a newline. 1179 1180Sun Sep 9 22:35:27 1990 David J. MacKenzie (djm at albert.ai.mit.edu) 1181 1182 * Makefile (dist): Remove .fname when done. 1183 1184Thu Sep 6 12:48:58 EDT 1990 Jay Fenlason (hack@ai.mti.edu) 1185 1186 * gnu.c (gnu_restore) Rember to skip_file() over the directory 1187 contents, even if we don't have to do anything with them. 1188 1189 * create.c extract.c diffarch.c Free sparsearray after we're done 1190 with it. 1191 1192Tue Sep 4 10:18:50 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1193 1194 * Makefile Include gnu.c in dist 1195 1196 * gnu.c move add_dir above read_dir_file so that cc doesn't complain 1197 about add_dir returning void. 1198 1199Sun Sep 2 20:46:34 1990 David J. MacKenzie (djm at apple-gunkies) 1200 1201 * getdate.y: Declare some more functions and add storage 1202 classes where omitted to shut compiler up. 1203 [USG] (ftime): Don't use extern var `daylight'; appears that 1204 some systems don't have it. 1205 1206Wed Aug 29 00:05:06 1990 David J. MacKenzie (djm at apple-gunkies) 1207 1208 * getdate.y (lookup): In the code that allows `Aug.' to be 1209 recognized as `Aug', don't chop off the final `.' from words 1210 like `a.m.', so they can be recognized. 1211 1212Thu Aug 16 11:34:07 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1213 1214 * buffer.c (open_archive) If -O, write verbosity to stderr 1215 instead of stdout. 1216 1217Fri Aug 10 12:29:28 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1218 1219 * getdate.y Handle an explicit DST in the input string. 1220 A dozen line patch from Per Foreby (perf@efd.lth.se). 1221 1222Mon Jul 16 13:05:11 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1223 1224 * tar.c rename -g -G +incremental, +listed-imcremental, etc. 1225 1226Fri Jul 13 14:10:33 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1227 1228 * tar.c Make +newer and +newer-mtime work according to their names. 1229 1230 * gnu.c If +newer or +newer-mtime, use the time specified on the 1231 command line. 1232 1233 * buffer.c, create.c Add test to see if dimwit is trying to 1234 archive the archive. 1235 1236 * tar.c (long_options[]) re-ordered, so that groups of similar 1237 options are next to each other. . . I think. 1238 1239 (describe) Modified to more closely reflect reality. 1240 1241Fri Jul 6 13:13:59 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1242 1243 * tar.c add compile-time option for SYS V (?) style 1244 tape-drive names /dev/rmt/{n}[lmh] 1245 1246 * tar.c Fix getopt-style stuff so that -C always works correctly. 1247 1248 * gnu.c, tar.c make filename to -G optional. 1249 1250 * {all over}, replace some fprintf(stderr...) calls with calls 1251 to msg(). 1252 1253 * port.c Make -Dmumble_MSG option on command line override 1254 internal assumptions. 1255 1256 * Makefile Mention -Dmumble_MSG options 1257 1258Fri Jul 6 02:35:31 1990 David J. MacKenzie (djm at apple-gunkies) 1259 1260 * tar.c (options): Don't change `c' if it is 0, as getopt now 1261 handles that internally. 1262 1263Mon Jul 2 15:21:13 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1264 1265 * gnu.c (new file) Moved all the f_gnudump stuff here where we 1266 can keep track of it easier. Also made -G take a file name where it 1267 stores the inode information about directories so that we can 1268 detect moved directores. 1269 1270 * create.c (dump_file) Changed slightly to work with the new 1271 f_gnudump. 1272 1273 * tar.c Moved the f_gnudump stuff to gnu.c 1274 1275 * tar.c, extract.c added the +do-chown option, which forces tar 1276 to always try to chown the created files to their original owners. 1277 1278 * version.c New version 1.09 1279 1280Sun Jun 24 14:26:28 1990 David J. MacKenzie (djm at albert.ai.mit.edu) 1281 1282 * create.c: Change ifdefs for directory library header 1283 selection to be like the ones in tar.c. 1284 * Makefile [Xenix]: Link with -ldir to get the dirent.h 1285 directory library. 1286 1287Thu Jun 7 03:31:51 1990 David J. MacKenzie (djm at albert.ai.mit.edu) 1288 1289 * Makefile, buffer.c, diffarch.c: Change MTIO symbol to HAVE_MTIO 1290 because SCO Xenix defines 'MTIO' for an incompatible tape driver 1291 system in a file included by termio.h. 1292 * tar.h: Don't define size_t for Xenix. 1293 1294Tue Jun 5 11:38:00 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1295 1296 * create.c (dump_file) Only print the 1297 "... is on a different filesystem..." if f_verbose is on. 1298 also add a case for S_IFSOCK and treat it like a FIFO. 1299 (Not sure if that's the right thing to do or not, but it's better 1300 than all those Unknown File Type msgs.) 1301 1302Thu May 31 19:25:36 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1303 1304 * port.c Use #ifdef sparc instead of #ifdef SPARC since 1305 the lowercase version is defined, and the uppercase one isn't. 1306 1307Tue May 22 11:49:18 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1308 1309 * port.c (ck_malloc) if size==0 pretend size=1 1310 (ck_realloc) if(!ptr) call ck_malloc instead. 1311 1312Tue May 15 12:05:45 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1313 1314 * diffarch.c (diff_archive) If not f_absolute_paths, and attempt to 1315 open a file listed in the archive fails, try /filename also. This will 1316 allow diff to open the wrong file if both /filename and filename exist, 1317 but there's nothing we can do about that. 1318 1319Fri May 11 16:17:43 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1320 1321 * Makefile, Descripbe new -DMTIO option. 1322 1323 * buffer.c diffarch.c Change ifdefs slightly, so that 1324 -DMTIO will include sys/mtio.h even if USG is defined. 1325 This is for HUPX and similar BSD/USG crossovers. 1326 1327Tue May 8 13:14:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1328 * update.c (update_archive) Call reset_eof() when appropriate. 1329 1330 * buffer.c (reset_eof) New function, that turns of EOF flag, and 1331 re-sets the ar_record and ar_last pointers. This will allow 1332 'tar rf non-existant-file' to not core-dump. 1333 1334Fri May 4 14:05:31 1990 David J. MacKenzie (djm at albert.ai.mit.edu) 1335 1336 * tar.c: Recognize the +sparse option. It was documented, but 1337 only the short form (-S) was actually recognized. 1338 1339Tue Apr 17 21:34:14 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1340 1341 * create.c Don't access location 0 if ->dir_contents is null. 1342 1343Wed Apr 11 17:30:03 EDT 1990 Jay Fenlason (hack@ai.mit.edu) 1344 1345 * buffer.c (flush_archive, close_archive, new_volume) Always check 1346 the return value of rmtclose(), and only give a warning msg if it is 1347 <0. Some device drivers (including Sun floppy disk, and HP 1348 streaming tape) return -1 after an IO error (or something like that.) 1349 1350Fri Mar 23 00:06:30 1990 Jim Kingdon (kingdon at mole.ai.mit.edu) 1351 1352 * tar.c (long_options): Make it so +append +extract +list +update 1353 +catenate and +delete don't take arguments. 1354 1355Mon Mar 12 13:33:53 EST 1990 1356 1357 * buffer.c (open_archive, fl_write) Set the mtime of the volume 1358 header to the current time. 1359 1360Wed Mar 7 14:10:10 EST 1990 Jay Fenlason (hack@ai.mit.edu) 1361 1362 * buffer.c Fix +compress-block A two character patch from 1363 Juha Sarlin (juha@tds.kth.se) 1364 Replace #ifdef __GNU__ with #ifdef __STDC__ 1365 (new_volume) If open of new archive fails, ask again 1366 (Is probably user error.) 1367 1368 * tar.c Replace #ifdef __GNU__ with #ifdef __STDC__ 1369 1370 * port.c Clean up #ifdef and #defines a bit. 1371 (quote_copy_string) Sometimes the malloc'd buffer 1372 would be up to two characters too short. 1373 1374 * extract.c (extract_archive) Don't declare ind static. 1375 1376 * create.c (dump_file) Don't declare index_offset static. 1377 1378 * diffarch.c Remove diff_name variable, and always use 1379 head->header.name, which will always work, unlike diff_name, which 1380 becomes trash when the next block is read in. 1381 1382Thu Mar 1 13:43:30 EST 1990 Jay Fenlason (hack@wookumz.ai.mit.edu) 1383 1384 * Makefile Mention the -NO_REMOTE option. 1385 * port.c Fix typo, and define WANT_FTRUNCATE on i386 machines. 1386 1387Mon Feb 26 17:44:53 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu) 1388 1389 * getdate.y: Declare yylex and yyerror as static. 1390 #define yyparse to getdate_yyparse. 1391 1392Sun Feb 25 20:47:23 1990 David J. MacKenzie (djm at albert.ai.mit.edu) 1393 1394 * tar.c: Remove +old option, since it is a valid abbreviation of 1395 +old-archive, which does the same thing. 1396 (describe): A few small cleanups in message. 1397 1398Mon Feb 5 14:29:21 EST 1990 Jay Fenlason (hack@wookumz) 1399 1400 * port.c define LOSING_MSG on sparc, since doprnt_msg doesn't work. 1401 Fix typo in #ifdef WANT_GETWD 1402 1403Fri Jan 26 16:11:20 EST 1990 Jay Fenlason (hack@wookumz) 1404 1405 1.08 Sparse file support added. Also various other features. 1406 1407 * diffarch.c (compare_chunk) Include correct arguments in 1408 a call to fprintf() for an error msg. 1409 (compare_chunks, compare_dir) First argument is a long, not an int. 1410 1411 * tar.c (options) Use tar variable (argv[0]) as the name to print 1412 in an error msg, instead of a constant "tar". 1413 (confirm) Use external variable char TTY_NAME[] for name of file 1414 to open for confirmation input. 1415 1416 * buffer.c (new_volume) Ditto. 1417 1418 * port.c Add declaration for TTY_NAME[]. 1419 1420 * rmt.h Add long declarations for lseek() and __rmt_lseek(); 1421 1422Tue Jan 23 14:06:21 EST 1990 Jay Fenlason (hack@wookumz) 1423 * tar.c, create.c Create the +newer-mtime option, which is like 1424 +newer, but only looks for files whose mtime is newer than the 1425 given date. 1426 1427 * rtape_lib.c Make *both* instances of signal-handler stuff use 1428 void (*foo)() on USG systems. 1429 1430Thu Jan 11 14:03:45 EST 1990 Jay Fenlason (hack@wookumz) 1431 1432 * getdate.y Parse European dates of the form YYMMDD. 1433 In ftime() Init timezone by calling localtime(), and remember that 1434 timezone is in seconds, but we want timeb->timezone to be in minutes. 1435 This small patch from Joergen Haegg (jh@aahas.se) 1436 1437 * rtape_lib.c (__rmt_open) Also look for /usr/bsd/rsh. 1438 Declare signal handler as returning void instead of int if USG is 1439 defined. 1440 1441 * port.c Declare WANT_GETWD for SGI 4-D IRIS. 1442 1443 * Makefile Include defines for SGI 4D version. There are a simple 1444 patch from Mike Muuss (mike@brl.mil). 1445 1446 * buffer.c (fl_read) Work properly on broken Ultrix systems where 1447 read() returns -1 with errno==ENOSPC on end of tape. Correctly go 1448 on to the next volume if f_multivol. 1449 1450 * list.c (list_archive,print_header) Flush msg_file after printing 1451 messages. 1452 1453 * port.c Delete unused references to alloca(). 1454 Don't crash if malloc() returns zero in quote_copy_string. 1455 Flush stderr in msg() and msg_perror(). 1456 1457 * tar.c Flush msg_file after printing confirmation msg. 1458 1459Wed Jan 10 01:58:46 1990 David J. MacKenzie (djm at hobbes.ai.mit.edu) 1460 1461 * tar.c (main): Change -help option and references to it to +help, 1462 and remove suggestion to run info (which is unreleased, so not 1463 likely to be of any help). 1464 1465Tue Jan 9 16:16:00 EST 1990 Jay Fenlason (hack @wookumz) 1466 1467 * create.c (dump_file) Close file descriptor if start_header() 1468 fails. 1469 (dump_file) Change test for ./ ness to not think that 1470 .{any character} is a ./ These are both trivial changes from 1471 Piercarlo "Peter" Grandi pcg%cs.aber.ac.uk@nsfnet-relay.ac.uk 1472 1473 * diffarch.c (diff_init) Print correct number of bytes in error 1474 message. 1475 1476Tue Jan 9 03:19:49 1990 David J. MacKenzie (djm at hobbes.ai.mit.edu) 1477 1478 * Makefile: Add comment at top noting that two source files also 1479 contain #defines that might need to be changed by hand. 1480 1481 * create.c, diffarch.c, extract.c: Change L_SET to 0 in lseek 1482 calls, because only BSD defines it. 1483 * create.c (dump_file): Make sparse file checking code conditional 1484 on BSD42 because it uses st_blocks, which the other systems lack. 1485 1486Tue Jan 2 13:35:56 EST 1990 Jay Fenlason (hack@gnu) 1487 1488 * port.c (quote_copy_string) Fix so it doesn't scramble memory if 1489 the last character is non-printable. A trivial fix from Kian-Tat Lim 1490 (ktl@wag240.caltech.edu). 1491 1492Tue Dec 19 11:19:37 1989 Jim Kingdon (kingdon at pogo) 1493 1494 * port.c [BSD42]: Define DOPRNT_MSG. 1495 tar.h [BSD42]: Do not prototype msg{,_perror}. 1496 1497Fri Dec 8 11:02:47 EST 1989 Jay Fenlason (hack@gnu) 1498 1499 * create.c (dump_file) Remove typo in msg. 1500 1501Fri Dec 1 19:26:47 1989 David J. MacKenzie (djm at trix) 1502 1503 * Makefile: Remove comments referring to certain systems lacking 1504 getopt, since it is now provided always and needed by all systems. 1505 1506 * port.c: Remove copy of getopt.c, as it is now linked in 1507 separately to always get the current version. 1508 1509 * tar.c: Rename +cat-tars option to +catenate or +concatenate, 1510 and +local-filesystem to +one-file-system (preferred by rms 1511 and used in GNU cp for the same purpose). 1512 (describe): Reflect changes. 1513 1514Tue Nov 28 04:28:26 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu) 1515 1516 * port.c: Move declaration of alloca into #else /* sparc */ 1517 so it will compile on sparcs. 1518 1519Mon Nov 27 15:17:08 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu) 1520 1521 * tar.c (options): Remove -version option (replaced by +version). 1522 (describe): Mention long options. 1523 1524Sat Nov 25 04:25:23 1989 David J. MacKenzie (djm at hobbes.ai.mit.edu) 1525 1526 * getoldopt.c (getoldopt): Make `opt_index' argument a pointer to 1527 an int, not char. 1528 1529 * tar.c: Modify long options per rms's suggestions: 1530 Make preserve-permissions an alias for same-permissions. 1531 Make preserve-order an alias for same-order. 1532 Define preserve to mean both of those combined. 1533 Make old an alias for old-archive. 1534 Make portability an alias for old-archive, also. 1535 Rename sym-links to dereference. 1536 Rename gnudump to incremental. 1537 Rename filename to file. 1538 Make compare an alias for diff. Leave diff but prefer compare. 1539 Rename blocking-factor to block-size. 1540 Rename chdir to directory. 1541 Make uncompress an alias for compress. 1542 Rename confirm to interactive. 1543 Make get an alias for extract. 1544 Rename volume-header to volume. 1545 1546 Also make +version an alias for -version. 1547 1548 (options): Shorten code that interprets long options by using 1549 the equivalent short options' code. This also makes it tons 1550 easier to change the long options. 1551 1552 (describe): Make usage message more internally consistent 1553 stylistically. 1554 1555Mon Nov 20 14:55:39 EST 1989 hack@ai.mit.edu 1556 1557 * list.c (read_and) Call check_exclude() to see if the files 1558 should be skipped on extract or list. 1559 1560Thu Nov 9 18:59:32 1989 Jim Kingdon (kingdon at hobbes.ai.mit.edu) 1561 1562 * buffer.c (fl_read): Fix typos in error message 1563 "tar EOF not on block boundary". 1564 1565Mon Oct 23 13:09:40 EDT 1989 (hack@ai.mit.edu) 1566 1567 * tar.c (long_options[]) Add an option for blocked compression. 1568 1569Thu Oct 19 13:38:16 EDT 1989 (hack@ai.mit.edu) 1570 1571 * buffer.c (writeerror) Print a more useful error msg. 1572 1573Wed Sep 27 18:33:41 EDT 1989 (hack@ai.mit.edu) 1574 1575 * tar.c (main) Mention "tar -help" if the luser types a non-workable 1576 set of options. 1577 1578Mon Sep 11 15:03:29 EDT 1989 (hack@ai.mit.edu) 1579 1580 * tar.c (options) Have -F correctly set info_script. 1581 1582Tue Aug 29 12:58:06 EDT 1989 (hack@ai.mit.edu) 1583 1584 * Makefile Include ChangeLog in tar.tar and tar.tar.Z 1585 1586Mon Aug 28 17:42:24 EDT 1989 (hack@ai.mit.edu) 1587 1588 * tar.c (options) Made -F imply -M 1589 Also remind tar that the -f option takes an argument! 1590 1591 * Modified -F option to make it do what (I think) it 1592 should. e.g, if you say -F, tar won't send a msg to 1593 msg_file and wait for a <return> It'll just run the program 1594 it was given, and when the prog returns, the new tape had 1595 *better* be ready. . . 1596 1597 * buffer.c (open_archive) Give error message and abort if 1598 the luser didn't give an archive name. 1599 1600Fri Aug 25 20:05:27 EDT 1989 Joy Kendall (jak at hobbes) 1601 1602 * Added code to make a new option to run a specified script 1603 at the end of each tape in a multi-volume backup. Changed: 1604 tar.c: made new switch, -F, and new long-named option, 1605 "info-script". Code is where you would expect. 1606 tar.h: added flag f_run_script_at_end, and an extern char * 1607 called info_script, which optarg gets set to. 1608 buffer.c: line 1158 in new_volume(): if f_run_script_at_end 1609 is set, we give info_script to system(), otherwise we do 1610 what we've always done. **FIXME** I'm not sure if that's all 1611 that has to be done here. 1612 1613Thu Aug 24 10:09:38 EDT 1989 Joy Kendall (jak at spiff) 1614(These changes made over the course of 6/89 - 8/89) 1615 1616 * diffarch.c: diff_archive: Added switches for LF_SPARSE in the 1617 case statements that needed it. Also, skip any extended headers 1618 if we need to when we skip over a file. (need to change 1619 the bit about, if the size doesn't agree AND the file is NOT 1620 sparse, then there's a discrepancy, because I added another 1621 field to the header which should be able to deal with the 1622 sizes) If the file is sparse, call the added routine 1623 "diff_sparse_files" to compare. Also added routine 1624 "fill_in_sparse_array". 1625 1626 * extract.c: extract_archive: added the switch LF_SPARSE 1627 to the case statement as needed, and code to treat the 1628 sparse file. At label "again_file", modified opening the 1629 file to see if we should have O_APPEND be one of the modes. 1630 Added code at label "extract_file" to call the new routine 1631 "extract_sparse_file" when we have an LF_SPARSE flag. 1632 1633 Note: really should erase the commented-out code in there, 1634 because it's confusing. 1635 1636 * update.c: made sure that if a file needed to be "skipped" 1637 over, it would check to see if the linkflag was sparse, and 1638 if so, would then make sure to skip over any "extended 1639 headers" that might come after the header itself. Do so by 1640 calling "skip_extended_headers". 1641 1642 * create.c: create_archive: added code to detect a sparse 1643 file when in the long case statement. Added ways to detect 1644 extended headers, and label "extend" (ack! should get rid of 1645 that, is atrocious). Call the new routine "finish_sparse_file" 1646 if the linkflag is LF_SPARSE to write the info to the tape. 1647 Also added routines "init_sparsearray", "deal_with_sparse", 1648 "clear_buffer", "where_is_data", "zero_record", and 1649 "find_new_file_size". 1650 1651 * tar.h: Added the #define's SPARSE_EXT_HDR and 1652 SPARSE_IN_HDR. Added the struct sparse and the struct 1653 sp_array. Added the linkflag LF_SPARSE. Changed the tar 1654 header in several ways: 1655 - added an array of struct sparse's SPARSE_IN_HDR long 1656 - added a char flag isextended 1657 - added a char string realsize to store the true 1658 size of a sparse file 1659 Added another choice to the union record called a 1660 struct extended_header, which is an array of 21 struct 1661 sparse's and a char isextended flag. Added flag 1662 f_sparse_file to list of flags. 1663 1664 * tar.c: added long-named options to make tar compatible with 1665 getopt_long, changed Makefile. 1666 1667... ... .. ..:..:.. ... .... Jay Fenlason (hack@ai.mit.edu) 1668 1669 1.07 New version to go on beta tape with GCC 1.35 1670 Better USG support. Also support for __builtin_alloca 1671 if we're compiling with GCC. 1672 diffarch.c: Include the correct header files so MTIOCTOP 1673 is defined. 1674 tar.c: Don't print the verbose list of options unless 1675 given -help. The list of options is *way* too long. 1676 1677 1.06 Use STDC_MSG if __STDC__ defined 1678 ENXIO meand end-of-volume in archive (for the UNIX PC) 1679 Added break after volume-header case (line 440) extract.c 1680 Added patch from arnold@unix.cc.emory.edu to rtape_lib.c 1681 Added f_absolute_paths option. 1682 Deleted refereces to UN*X manual sections (dump(8), etc) 1683 Fixed to not core-dump on illegal options 1684 Modified msg_perror to call perror("") instead of perror(0) 1685 patch so -X - works 1686 Fixed tar.c so 'tar cf - -C dir' doesn't core-dump 1687 tar.c (name_match): Fixed to chdir() to the appropriate 1688 directory if the matching name's change_dir is set. This 1689 makes tar xv -C foo {files} work. 1690 1691 1.05 A fix to make confirm() work when the archive is on stdin 1692 include 'extern FILE *msg_file;' in pr_mkdir(), and fix 1693 tar.h to work with __STDC__ 1694 1695 Added to port.c: mkdir() ftruncate() Removed: lstat() 1696 Fixed -G to work with -X 1697 Another fix to tar.texinfo 1698 Changed tar.c to say argv[0]":you must specify exactly ... 1699 buffer.c: modified child_open() to keep tar from hanging when 1700 it is done reading/writing a compressed archive 1701 added fflush(msg_file) before printing error messages 1702 create.c: fixed to make link_names non-absolute 1703 1704 1.04 Added functions msg() and msg_perror() Modified all the 1705 files to call them. Also checked that all (I hope) 1706 calls to msg_perror() have a valid errno value 1707 (modified anno() to leave errno alone), etc 1708 Re-fixed the -X option. This time for sure. . . 1709 re-modified the msg stuff. flushed anno() completely 1710 Modified the directory stuff so it should work on sysV boxes 1711 added ftime() to getdate.y 1712 Fixed un_quote_string() so it won't wedge on \" Also fixed 1713 \ddd (like \123, etc) 1714 More fixes to tar.texinfo 1715 1716 1.03 Fixed buffer.c so 'tar tzf NON_EXISTENT_FILE' returns an error 1717 message instead of hanging forever 1718 More fixes to tar.texinfo 1719 1720 1.02 Fixed tar.c so 'tar -h' and 'tar -v' don't cause core dump 1721 Also fixed the 'usage' message to be more up-to-date. 1722 Fixed diffarch.c so verify should compile without MTIOCTOP 1723 defined 1724 1725 1.01 Fixed typoes in tar.texinfo 1726 Fixed a bug in the #define for rmtcreat() 1727 Fixed the -X option to not call realloc() of 0. 1728 1729 Version 1.00: version.c added. -version option added 1730 Installed new version of the remote-tape library 1731 Added -help option 1732 1733Local Variables: 1734mode: indented-text 1735left-margin: 8 1736version-control: never 1737End: 1738