Commit Graph

  • 99dc4251f9 (child_open_for_compress): Use portable modes. (child_open_for_uncompress, open_archive): Likewise. (backspace_output): Use portable whence values. (close_archive): Likewise. Remove ending_file_option. Paul Eggert 1999-07-02 06:08:46 +00:00
  • 18af5f60df version 1.12.64016 Paul Eggert 1999-07-01 21:01:44 +00:00
  • aa985330d5 \a doesn't work with msgfmt. Fix copyright notice. Paul Eggert 1999-07-01 21:01:44 +00:00
  • 6290150c47 Fix copyright notice. Paul Eggert 1999-07-01 21:01:44 +00:00
  • 1521a94b11 Handle EINTR correctly; use STDIN_FILENO instead of 0, etc. Paul Eggert 1999-06-29 02:26:25 +00:00
  • 5cff6c76e7 Describe changes since 1.12. Paul Eggert 1999-06-29 02:26:25 +00:00
  • f6db0ba34e Add lib/argmatch.c, lib/error.c lib/getopt.c, lib/xmalloc.c, src/arith.c, src/misc.c. Paul Eggert 1999-06-29 02:26:25 +00:00
  • 22954a6f8a ANSIfy. Paul Eggert 1999-06-29 02:26:25 +00:00
  • efd8cb3446 1.12.64014 Paul Eggert 1999-06-25 23:32:39 +00:00
  • ee734033e8 (write_archive_buffer): New function. (child_open_for_compress, flush_write, flush_read): Use it to write buffers. (open_archive): Report error if fstat of archive fails. Improve efficiency of check for /dev/null. Also, fix some corner cases with remote archives and /dev/null checking. (close_archive): Test for input fifo only if not remote. Truncate output archive only if it's not remote. Paul Eggert 1999-06-25 23:28:08 +00:00
  • cb562d7194 Initial revision Paul Eggert 1999-06-21 00:02:15 +00:00
  • 4c88ea8619 version 1.12.64013 Paul Eggert 1999-06-19 06:19:27 +00:00
  • 805b08cf02 (to_oct): Prepend leading zeros, not spaces. Output a trailing NUL unless the value won't fit without it; this is backward compatible with Unix tar (and with GNU Emacs). (finish_header): No need to append NUL to chksum, now that to_oct is doing it. Paul Eggert 1999-06-19 06:19:27 +00:00
  • ec424c77a9 Move include of backupfile.h to common.h. Paul Eggert 1999-06-16 12:44:52 +00:00
  • f8baeb3fa0 Bump version. Paul Eggert 1999-06-16 11:39:30 +00:00
  • 72adbbda36 (backup_type): Remove decl; backupfile.h now has it. (intconv): Remove; use xstrto* fns instead. ("xstrtol.h"): Include. (check_decimal): Remove. (long_options, usage, OPTION_STRING, decode_options): Remove -y, --bzip2, --unbzip2. (decode_options): Use xget_version instead of get_version. Check for overflow with -b and -L and RECORD_SIZE_OPTION. Replace invocations of check_decimal with xstrtoumax. Paul Eggert 1999-06-16 11:14:15 +00:00
  • 1e62d7c228 Initial revision Paul Eggert 1999-06-16 11:11:07 +00:00
  • bf78c421f0 Remove --bzip2. Fix @xref typos reported by latest makeinfo. Paul Eggert 1999-06-16 11:04:02 +00:00
  • 69e400d4e0 (print_header): Change sizes of uform and gform from 11 to UINTMAX_STRSIZE_BOUND. Paul Eggert 1999-06-16 11:04:02 +00:00
  • ce00ef748c GNU tar 1.13 Paul Eggert 1999-05-20 03:48:55 +00:00
  • 3de1239635 Remove -y. Paul Eggert 1999-05-16 02:43:22 +00:00
  • 78e6911db8 Initial revision Paul Eggert 1999-04-19 02:43:16 +00:00
  • f4f967b626 Bump version. Paul Eggert 1999-04-09 22:40:42 +00:00
  • aafb997b09 Version 1.12.64010 Paul Eggert 1999-03-22 22:10:51 +00:00
  • f31b9d842b Include <quotearg.h>. (from_oct): Add forward decl. (read_header): Return HEADER_FAILURE if we can't parse the checksum. (from_oct): Report an error only if TYPE is nonzero. Quote any funny characters in bad header. Paul Eggert 1999-03-22 22:06:22 +00:00
  • ed87a12769 version 1.12.64009 Paul Eggert 1999-03-20 11:50:30 +00:00
  • f46de402ef Update version number. Paul Eggert 1999-03-18 07:25:29 +00:00
  • 13140bcaf9 Remove --with-included-malloc. Upgrade version numbers of build software. Paul Eggert 1999-03-18 07:20:42 +00:00
  • 0e1fcd0959 Fix bug-report addr. Paul Eggert 1999-03-18 07:20:42 +00:00
  • 0e3b1c9291 Update to 1.12.64007. Paul Eggert 1999-03-08 07:51:45 +00:00
  • 03863d011c 1.12.64006 Paul Eggert 1999-03-02 00:10:11 +00:00
  • 13617c42d8 (to_oct): New parameter substitute, giving a substitute value to use when the original value is out of range. Do not append a space to the output; modern tars don't. When a value is out of range, specify the maximum value, not the number of bits. (GID_NOBODY, UID_NOBODY): New macros. (gid_to_oct, uid_to_oct): Use them as substitutes. (finish_header): Do not assume that UINTMAX_TO_OCT appends a space. (dump_file): Check whether the file changed as we read it. Paul Eggert 1999-03-02 00:10:11 +00:00
  • 00a2b4708f (main): Remove suspicious AIX/386 code. Paul Eggert 1999-03-02 00:10:11 +00:00
  • 545ec1a3fa (gid_from_oct, major_from_oct, minor_from_oct, mode_from_oct, off_from_oct, size_from_oct, time_from_oct, uid_from_oct, uintmax_from_oct): Use TYPE_MAXIMUM instead of macros like OFF_MAX, which are not reliable (e.g. OFF_MAX in AIX 4.2 is incorrect). Paul Eggert 1999-03-02 00:10:11 +00:00
  • 971cfed8d9 Version 1.12.64005 Paul Eggert 1999-02-20 06:04:28 +00:00
  • dcf34d8c4a Add --bzip2, --bunzip2 options. Paul Eggert 1999-02-20 06:04:28 +00:00
  • f561403bad (long_options, usage): Prefer --unbzip2 to --bunzip2. Paul Eggert 1999-02-20 06:04:28 +00:00
  • 16368da655 Update copyright. Paul Eggert 1999-02-01 08:10:25 +00:00
  • 006ccbe408 1.12.64004 Paul Eggert 1999-02-01 08:02:16 +00:00
  • 6ccb513321 (long_options, usage, OPTION_STRING, decode_options): Add -y or --bzip2 or --bunzip2 option. Paul Eggert 1999-02-01 07:51:19 +00:00
  • 7381ee26dd (extract_archive): Fix bug when extracting sparse files: they were trashing the tar file header. Paul Eggert 1999-02-01 07:51:19 +00:00
  • 2e4d78d856 (cached_no_such_uname, cached_no_such_gname, cached_no_such_uid, cached_no_such_gid): New vars. (uid_to_uname, gid_to_gname, uname_to_uid, gname_to_gid): Cache failures, too. Paul Eggert 1999-01-31 02:53:47 +00:00
  • 562d543b2d (decode_options): Don't pass names longer than UNAME_FIELD_SIZE to uname_to_uid, as it messes up the cache. Similarly for gname_to_uid. Paul Eggert 1999-01-31 02:52:16 +00:00
  • 89a1608bd4 version 1.12.64003 Paul Eggert 1999-01-28 00:29:59 +00:00
  • 5019d3b2d9 (backspace_output, close_archive): Cast rmtlseek position arg to off_t, for benefit of K&R compilers with long long. Paul Eggert 1999-01-28 00:28:41 +00:00
  • 3b34cd8be3 Version 1.12.64002 Paul Eggert 1999-01-27 20:45:26 +00:00
  • 3ca6dbbb22 (gid_to_oct, major_to_oct, minor_to_oct, mode_to_oct, off_to_oct, size_to_oct, time_to_oct, uid_to_oct): Cast value to uintmax_t, for benefit of pre-ANSI compilers with long long. Paul Eggert 1999-01-27 20:42:30 +00:00
  • c7f56e640d (gid_from_oct, major_from_oct, minor_from_oct, mode_from_oct, off_from_oct, size_from_oct, time_from_oct, uid_from_oct): Cast limit to uintmax_t, for benefit of pre-ANSI compilers with long long. Paul Eggert 1999-01-27 20:42:30 +00:00
  • d434121129 GNU fileutils 4.0i Paul Eggert 1999-01-25 14:09:30 +00:00
  • ad3e6fd9fa Update version Paul Eggert 1999-01-22 22:37:10 +00:00
  • 271450942b Update version number to 1.12.64000. Paul Eggert 1999-01-20 20:49:57 +00:00
  • 5f1d467d9c Update version number. Paul Eggert 1999-01-20 19:30:20 +00:00
  • 407206f5f2 GNU tar 1.13 Paul Eggert 1999-01-19 04:21:34 +00:00
  • 85d7b872bf GNU tar 1.13 Paul Eggert 1999-01-01 17:43:10 +00:00
  • 2a65ad143a 1.12.lfs.6 Paul Eggert 1998-12-07 22:44:42 +00:00
  • e1ac06bcca (read_header): Accept file names as specified by POSIX.1-1996 section 10.1.1. Paul Eggert 1998-12-07 22:36:22 +00:00
  • 53a5ac41d2 (set_stat): chmod after chown even when not root; if we are using --same-owner this is needed e.g. on Solaris 2.5.1. Paul Eggert 1998-11-30 22:17:11 +00:00
  • b4e98e81e0 Bump revision Paul Eggert 1998-11-15 09:30:07 +00:00
  • 1d20c503fd Update to 1.12.lfs.4. Paul Eggert 1998-10-29 02:29:49 +00:00
  • b9ca9399a1 Don't use rexec code unless compiled with WITH_REXEC. On many installations, rexec is disabled. Paul Eggert 1998-10-29 02:22:34 +00:00
  • 7d33c24bbe glibc 2.1.2 Paul Eggert 1998-10-23 18:07:04 +00:00
  • b21cfb5780 Ghostscript 6.0 Paul Eggert 1998-09-09 23:52:32 +00:00
  • 6cd816fc83 Update revision number. Paul Eggert 1998-08-07 19:09:53 +00:00
  • 887188311d (uid_to_uname, gid_to_gname): Don't used cached name for nameless users and groups. Paul Eggert 1998-08-07 19:09:15 +00:00
  • 8be2b02752 GNU tar 1.13 Paul Eggert 1998-07-16 23:23:05 +00:00
  • 2c3536c509 Initial revision Paul Eggert 1998-02-24 23:17:38 +00:00
  • 7f0553b270 Add explanation of why this isn't an official version. Paul Eggert 1998-02-18 01:23:55 +00:00
  • 08ba6038aa Add 1.12.lfs.1. Paul Eggert 1998-02-02 23:02:03 +00:00
  • 3aa399bca9 Update version to 1.12.lfs.1 Paul Eggert 1998-02-02 22:57:55 +00:00
  • 8d5fcefaa2 GNU tar 1.13 Paul Eggert 1997-12-31 11:01:18 +00:00
  • 4559fdbfb1 Implement -E (ending-file) option. junio 1997-12-04 07:07:11 +00:00
  • d1f1e3a189 Implement -E (ending-file) option. junio 1997-12-04 06:37:52 +00:00
  • 83406bb4c3 gtar 1.12 Paul Eggert 1997-11-19 20:42:34 +00:00
  • 56569a0f75 (main): Don't assume mt_count is of type daddr_t. Paul Eggert 1997-11-10 19:13:12 +00:00
  • 48be206fbf (to_oct): Now static. Value arg is now uintmax_t. Accept new args giving name of type of octal field, for error messages. Report an error if the value is too large to fit in the field. (gid_to_oct, major_to_oct, minor_to_oct, mode_to_oct, off_to_oct, size_to_oct, time_to_oct, uid_to_oct, uintmax_to_oct): New functions. Paul Eggert 1997-10-31 00:58:55 +00:00
  • 293c604c5d (rmt_read__, rmt_write__): Now returns ssize_t. (rmt_lseek): Now returns off_t. Paul Eggert 1997-10-31 00:58:55 +00:00
  • ac8cfdacf6 (record_start_block, save_totsize, save_sizeleft, real_s_totsize, real_s_sizeleft, current_block_ordinal): Now off_t. (write_error): Arg is now ssize_t. (child_pid): Now pid_t. (available_space_after): Now size_t. Paul Eggert 1997-10-31 00:58:55 +00:00
  • 241bbee81b (read_and, list_archive, read_header, decode_mode, print_header, print_for_mkdir): Use mode_t, off_t, size_t when appropriate. Remove now-useless casts. Use unsigned long to print *_t types, except use STRINGIFY_BIGINT for off_t. Paul Eggert 1997-10-31 00:58:55 +00:00
  • 49086e2770 (newdir_umask, current_umask): Now mode_t. (extract_sparse_file): Args now use off_t. Paul Eggert 1997-10-31 00:58:55 +00:00
  • f3531f64fb (name_init): Fix typo in error message: FILE* was passed, but char* was wanted. Paul Eggert 1997-10-31 00:58:55 +00:00
  • f2bad2db48 (extract_mangle): Check for overflow when converting off_t to size_t. Use off_t, size_t when appropriate. Remove now-useless casts. Paul Eggert 1997-10-31 00:58:55 +00:00
  • dab18c15bd (do_command, rmt_open__, rmt_read__, rmt_lseek__, rmt_ioctl__): Use pid_t, size_t, ssize_t when appropriate. Remove now-useless casts. Use unsigned long to print *_t types, except use STRINGIFY_BIGINT for off_t. Paul Eggert 1997-10-31 00:58:55 +00:00
  • 88ea940c0e (check_decimal): Now returns 1 if successful, 0 otherwise, and returns uintmax_t value into new arg. Check for arithmetic overflow. (decode_options): Avoid overflow if record_size fits in size_t but not int. Check for overflow on user or group ids. Paul Eggert 1997-10-31 00:58:55 +00:00
  • ac65803ac9 (append_file) Use off_t, size_t, ssize_t when appropriate. Remove now-useless casts. Use unsigned long to print *_t types, except use STRINGIFY_BIGINT for off_t. (update_archive): Cast -1 to dev_t when necessary. Paul Eggert 1997-10-31 00:58:55 +00:00
  • 998e6e081d (allocated_size): Now size_t, and now initialized to 0. (prepare_record_buffer): Arg is now size_t. Remove now-useless casts. Paul Eggert 1997-10-31 00:58:55 +00:00
  • 66f1606886 Clarify 12am vs 12pm vs 12m. Paul Eggert 1997-10-27 15:04:02 +00:00
  • 41c4811c30 Initial revision Paul Eggert 1997-06-09 22:22:27 +00:00
  • 3289dce552 GNU tar 1.12 Paul Eggert 1997-04-25 20:37:23 +00:00
  • 1e809b7276 GNU tar 1.13 Paul Eggert 1997-04-25 20:21:24 +00:00
  • 2eec797e22 Initial revision Paul Eggert 1997-04-25 20:21:03 +00:00
  • b7890ac757 GNU tar 1.12 Paul Eggert 1997-04-25 20:16:30 +00:00
  • f112b1363b GNU tar 1.12 Paul Eggert 1997-04-25 20:11:23 +00:00
  • 5e0e89eac1 GNU tar 1.12 Paul Eggert 1997-04-25 20:09:49 +00:00
  • 1d0c64017d GNU tar 1.12 Paul Eggert 1997-04-25 20:02:46 +00:00
  • ea6fcdf217 gtar 1.12 Paul Eggert 1997-04-25 17:33:20 +00:00
  • 3e3d9b7e39 GNU tar 1.12 Paul Eggert 1997-04-25 17:10:08 +00:00
  • 27e87f4f2f GNU tar 1.12 Paul Eggert 1997-04-25 13:48:46 +00:00
  • 1a110ed9de GNU tar 1.13 Paul Eggert 1997-04-25 12:50:05 +00:00
  • f6440fc226 GNU tar 1.12 Paul Eggert 1997-04-25 12:40:32 +00:00
  • 89cf4ccc6f GNU tar 1.13 Paul Eggert 1997-04-25 00:08:58 +00:00