The unsigned char * pointer ran afoul of pedantic C compilers, and
we didn't need pointers anyway. Put the size field before the
data to avoid unnecessary padding. All uses changed.
- (magic) Make it const, since it doesn't change. All used changed.
+ (magic) Make it const, since it doesn't change. All uses changed.
2005-04-02 Paul Eggert <eggert@cs.ucla.edu>
* src/extract.c (extract_file): Handle to_command_option
Fix error recovery: decrease `size' by `written', not
by `count', otherwise tar misses the next header
- Do not diagnose write errror if to_command_option
+ Do not diagnose write error if to_command_option
is set, since the command may have exited prematurely.
It would be better to check for sigpipe, though.
(prepare_to_extract): Handle to_command_option
(parse_opt): Rewritten handling of -T option. Handle hidden
--HANG option for debugging purposes.
(decode_options): Init unquote_option to true. Init argv_stk.
- Remove unneded references to files_from_option
+ Remove unneeded references to files_from_option
* doc/tar.texi: Document new options.
Moved rendition macros and option value definitions into
2004-12-17 Sergey Poznyakoff <gray@Mirddin.farlep.net>
* src/delete.c (delete_archive_members): Bugfix: when
- attempting to delete an unexisting member, the last
+ attempting to delete an nonexistent member, the last
blocking_factor blocks were zeroed.
2004-12-14 Paul Eggert <eggert@cs.ucla.edu>
* src/buffer.c (hit_eof): Changed type to boolean
(read_full_records,reading_from_pipe): New variables
(check_compressed_archive,open_compressed_archive): New functions
- (open_archive): Autodetect compressed archives and act accodingly.
- Set reading_from_pipe. This fixes contraversial set of changes
+ (open_archive): Autodetect compressed archives and act accordingly.
+ Set reading_from_pipe. This fixes controversial set of changes
introduced 2004-05-11,2004-03-22.
* src/list.c (tar_checksum): New function
(read_header): Use tar_checksum().
* configure.ac: Raised version number to 1.14
* NEWS: Updated.
* tests/after: Added copyleft statement
- * tests/before: Added copyleft statemente
+ * tests/before: Added copyleft statement
* tests/preset.in: Added copyleft statement
Tar 1.14 is released. Sources up to this point are tagged
* tests/after: Rewritten
* tests/before: Rewritten
* tests/preset.in: Rewritten
- * tests/delete03.sh: Accomodate for the new testsuite logic
+ * tests/delete03.sh: Accommodate for the new testsuite logic
* tests/gzip.sh: Likewise
* tests/incremen.sh: Likewise
* tests/listed01.sh: Likewise
* TODO: Updated
* src/common.h (strip_path_elements): New variable.
* src/extract.c (extract_archive): Implemented --strip-path
- * src/names.c (cut_path_elements): New functon.
+ * src/names.c (cut_path_elements): New function.
* src/tar.c: New option --strip-path=NUM.
(decode_options) Assign boolean values to bool variables.
* m4/mbstate_t.m4: Include stdio.h before wchar.h, to work around
a bug in glibc 2.1.3.
- * lib/xmalloc.c: Fix inaccorate comment for xrealloc.
+ * lib/xmalloc.c: Fix inaccurate comment for xrealloc.
2000-06-19 Paul Eggert <eggert@twinsun.com>