001e5cf813Fixed initialization of stat_info->is_sparse
Sergey Poznyakoff
2004-08-31 11:48:51 +00:00
fc264a87a8(set_start_time, removed_prefixes_p): New prototypes.
Sergey Poznyakoff
2004-08-31 11:48:23 +00:00
68bd7ac50aWhen computing write rate do not take into account the time needed to verify the archive(s). The bug reported by John L. Males <jlmales@yahoo.com> (set_start_time,compute_duration): New functions. (print_total_written): Use the result of compute_duration(). (close_archive): Call compute_duration.
Sergey Poznyakoff
2004-08-31 11:48:05 +00:00
3f4f5a4bf4(removed_prefixes_p): New function
Sergey Poznyakoff
2004-08-31 11:47:02 +00:00
e563240b95(verify_volume): Call set_next_block_after if read_header returns HEADER_FAILURE Destroy and reinitialize content of current_stat_info and extended_header after each iteration. Issue a warning if the archive created contains some members whose file names were stripped off their leading prefixes. This is a temporary fix of the issue reported by Bdale Garbee <bdale@gag.com> (Refs: Debian bug 230064, Message-Id <87n07kyzhi.fsf@rover.gag.com>, Sun, 15 Feb 2004 11:22:17 -0700)
Sergey Poznyakoff
2004-08-31 11:45:55 +00:00
6522c25b8d(sparse_add_map): Fixed improper initializations of sparse_map_size. We assume that whatever number it contains describes adequately the current size of sparse_map. The only number we need to reset is sparse_map_avail.
Sergey Poznyakoff
2004-08-31 11:45:16 +00:00
8771e7c560Renamed LIBPATH to LIBDIR. New option -a (--all). Do not start restore unless -a or patterns are given. (restore_fs,restore_files): Fixed use of --listed option.
Sergey Poznyakoff
2004-08-19 13:09:37 +00:00
1992ef9496(test_root): Append / to ROOT_FS unless it already ends in it.
Sergey Poznyakoff
2004-08-19 13:09:16 +00:00
73030de19fRenamed LIBPATH to LIBDIR. Use ROOT_FS with -C option. Do not send mail if ADMINISTRATOR is set to NONE.
Sergey Poznyakoff
2004-08-19 13:08:43 +00:00
7f27104062In bootstrap, set LC_ALL=C and save some more gnulib m4 files.
Paul Eggert
2004-08-12 20:24:51 +00:00
e24d4efed0Set LC_ALL=C so that file names sort consistently. Prefer the gnulib copies of gettext.m4, glibc21.m4, lib-ld.m4, lib-prefix.m4, po.m4 too.
Paul Eggert
2004-08-12 20:24:13 +00:00
a418ef678eMerge argp, getopt, xalloc changes from gnulib.
Paul Eggert
2004-08-12 18:37:09 +00:00
83acd3c604Remove; gnulib now works unpatched.
Paul Eggert
2004-08-12 18:35:24 +00:00
303132dcdcAdjust to changes to gnulib xalloc module. (extr_init): Remove assignment to xalloc_fail_func; no longer needed. (xalloc_die): New function.
Paul Eggert
2004-08-12 18:34:40 +00:00
3848b93af6Add fnmatch.h, getopt_.h, sysexit.h, xalloc-die.c.
Paul Eggert
2004-08-12 18:34:18 +00:00
93becc4f52(_getopt_long_only_r): Remove check. gl_ARGP now does this for us.
Paul Eggert
2004-08-12 18:33:13 +00:00
03092879ac(gnulib_modules): Add xalloc-die.
Paul Eggert
2004-08-12 18:32:54 +00:00
2d041189aa(flush_write): Limit filenames of the members that straddle multivolume archive boundary to 100 characters.
Sergey Poznyakoff
2004-08-10 11:17:16 +00:00
260acce7a3(read_and): Call decode_header before calling skip_member() (skip_member): Use is_sparse field to determine if the member is a sparse file.
Sergey Poznyakoff
2004-08-09 11:24:06 +00:00
df6200e97e(must_be_dot_or_slash): FILESYSTEM_PREFIX_LEN -> FILE_SYSTEM_PREFIX_LEN.
Paul Eggert
2004-08-07 06:32:41 +00:00
9ae5a981fcInclude <getcwd.h>. (extract_archive): Rewrite with new macro IS_ABSOLUTE_FILE_NAME. (make_directories): FILESYSTEM_PREFIX_LEN -> FILE_SYSTEM_PREFIX_LEN.
Paul Eggert
2004-08-07 06:32:12 +00:00
7287be445eRemove addext.c, malloc.c, realloc.c.
Paul Eggert
2004-08-07 06:31:20 +00:00
cafa07d966Don't use valloc; it's buggy on some GNU/Linux systems, and it returns storage that can't be freed on older BSD systems.
Paul Eggert
2004-08-03 04:46:37 +00:00
9038410bb7(valloc): Remove.
Paul Eggert
2004-08-03 04:45:57 +00:00
f3da0c26b8(quote_n, quote): Remove these redundant functions. (ptr_align): New function, from coreutils/src/system.h. (page_aligned_alloc): New function.
Paul Eggert
2004-08-03 04:45:05 +00:00
82eff37f6f(page_aligned_alloc): New decl.
Paul Eggert
2004-08-03 04:44:39 +00:00
6869d0f6b3(diff_init): Don't use valloc; on older or buggy hosts, you can't free the result. Use page_aligned_alloc instead.
Paul Eggert
2004-08-03 04:44:13 +00:00
81460a0349(record_buffer): New var. (open_archive): Don't use valloc; on older or buggy hosts, you can't free the result. Use page_aligned_alloc instead. Record the pointer to be freed into record_buffer. (close_archive): Free record_buffer.
Paul Eggert
2004-08-03 04:43:38 +00:00
ae29dcca87Add getpagesize.m4.
Paul Eggert
2004-08-03 04:42:53 +00:00
ac7c2b7116Add getpagesize.h.
Paul Eggert
2004-08-03 04:42:35 +00:00
08cba4e4e5(valloc): Remove check; valloc no longer used.
Paul Eggert
2004-08-03 04:42:18 +00:00
d81b5d6f1e(gnulib_modules): Add getpagesize.
Paul Eggert
2004-08-03 04:41:48 +00:00
55ec665a41Add fchown-stub.c
Paul Eggert
2004-07-10 06:51:38 +00:00
4ab8cff6b3* lib/.cvsignore: Add fchown-stub.c.
Paul Eggert
2004-07-10 06:51:17 +00:00
e4afe72b7asrc/extract.c (extract_archive): Do not report an error when hard-linking X to X when X exists.
Paul Eggert
2004-07-10 06:14:51 +00:00
0a3a9744f7(extract_archive): Do not report an error when hard-linking X to X when X exists.
Paul Eggert
2004-07-10 06:13:28 +00:00
ad548198f3Added Martin Simmons
Sergey Poznyakoff
2004-06-29 10:17:38 +00:00
f94cf6216b(gnu_restore): Renamed to purge_directory(). Do not attempt to purge the directory if it is on a different device and one_file_system_option is set.
Sergey Poznyakoff
2004-06-29 10:11:46 +00:00
44391cb932(extr_init): Save the device number of the root device. (extract_archive): Renamed gnu_restore() to purge_directory().
Sergey Poznyakoff
2004-06-29 10:11:13 +00:00
af15956c4d(root_device): New global. (gnu_restore): Renamed to purge_directory().
Sergey Poznyakoff
2004-06-29 10:10:26 +00:00
6938706958The actual default for exclude patterns is --no-anchored. Thanks "Felix Natter" <felix.natter@ldc.de> for noticing.
Sergey Poznyakoff
2004-06-25 10:32:44 +00:00
cd2c8d4fbbThe actual default for exclude patterns is --no-anchored. Fixed.
Sergey Poznyakoff
2004-06-25 10:32:27 +00:00