Use UTF-8 uniformly, rather than UTF-8 sometimes and Latin-1 sometimes.

This commit is contained in:
Paul Eggert
2005-04-16 07:22:13 +00:00
parent a71807a247
commit 005d0d455c
4 changed files with 24 additions and 28 deletions

View File

@@ -26,14 +26,14 @@
* src/create.c: Assign orig_file_name * src/create.c: Assign orig_file_name
to save_name uniformly over the program. This fixes matching to save_name uniformly over the program. This fixes matching
directory names at the start of an archive volume. directory names at the start of an archive volume.
* src/list.c: Likewise * src/list.c: Likewise
* tests/multiv03.at: Modified to match the new behavior * tests/multiv03.at: Modified to match the new behavior
* tests/multiv04.at: New file. Test splittind directory members between * tests/multiv04.at: New file. Test splittind directory members between
the archive volumes. the archive volumes.
* tests/Makefile.am: Add multiv04.at * tests/Makefile.am: Add multiv04.at
* tests/testsuite.at: Likewise. * tests/testsuite.at: Likewise.
2005-04-04 Paul Eggert <eggert@cs.ucla.edu> 2005-04-04 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac (AC_CONFIG_AUX_DIR): Rename from config to build-aux, * configure.ac (AC_CONFIG_AUX_DIR): Rename from config to build-aux,
@@ -1064,8 +1064,8 @@
2004-04-20 Sergey Poznyakoff <gray@Mirddin.farlep.net> 2004-04-20 Sergey Poznyakoff <gray@Mirddin.farlep.net>
* configure.ac: Fixed test for iconv_t * configure.ac: Fixed test for iconv_t
* src/rmt.h: Bugfix by J<EFBFBD>rgen Weigert * src/rmt.h: Bugfix by Jürgen Weigert
* THANKS: Add J<EFBFBD>rgen Weigert * THANKS: Add Jürgen Weigert
* tests/star/README: Fixed typo * tests/star/README: Fixed typo
2004-04-04 Paul Eggert <eggert@twinsun.com> 2004-04-04 Paul Eggert <eggert@twinsun.com>

26
NEWS
View File

@@ -34,7 +34,7 @@ was not processed correctly.
version 1.15.1 - Sergey Poznyakoff, 2004-12-21 version 1.15.1 - Sergey Poznyakoff, 2004-12-21
This version fixes a bug introduced in 1.15 which caused This version fixes a bug introduced in 1.15 which caused
tar to refuse to extract files from standard input. tar to refuse to extract files from standard input.
@@ -69,7 +69,7 @@ the file names had their prefixes stripped off.
automatically on archive creation. Cache directories are those automatically on archive creation. Cache directories are those
containing a standardized tag file, as specified at: containing a standardized tag file, as specified at:
http://www.brynosaurus.com/cachedir/spec.html http://www.brynosaurus.com/cachedir/spec.html
* New configure option --with-rmt allows to specify full path name to * New configure option --with-rmt allows to specify full path name to
the `rmt' utility. This supercedes DEFAULT_RMT_COMMAND variable the `rmt' utility. This supercedes DEFAULT_RMT_COMMAND variable
@@ -93,12 +93,12 @@ lead to removing the already extracted copy. Preserve the first
extracted copy in such cases. extracted copy in such cases.
** Restore script was passing improper argument to tar --listed option (which ** Restore script was passing improper argument to tar --listed option (which
didn't affect the functionality, but was logically incorrect). didn't affect the functionality, but was logically incorrect).
** Fixed verification of created archives. ** Fixed verification of created archives.
** Fixed unquoting of file names containing backslash escapes (previous ** Fixed unquoting of file names containing backslash escapes (previous
versions failed to recognize \a and \v). versions failed to recognize \a and \v).
** When attempting to delete a non-existing member from the archive, previous ** When attempting to delete a non-existing member from the archive, previous
versions of tar used to overwrite last archive block with zeroes. versions of tar used to overwrite last archive block with zeroes.
version 1.14 - Sergey Poznyakoff, 2004-05-11 version 1.14 - Sergey Poznyakoff, 2004-05-11
@@ -126,7 +126,7 @@ version 1.14 - Sergey Poznyakoff, 2004-05-11
with previous releases, however such usage is strongly deprecated as with previous releases, however such usage is strongly deprecated as
the option will change to its UNIX98 semantics in the future releases. the option will change to its UNIX98 semantics in the future releases.
* New option --occurrence[=N] can be used in conjunction with one of * New option --occurrence[=N] can be used in conjunction with one of
the subcommands --delete, --diff, --extract or --list when a list of the subcommands --delete, --diff, --extract or --list when a list of
files is given either on the command line or via -T option. This files is given either on the command line or via -T option. This
option instructs tar to process only the Nth occurrence of each named option instructs tar to process only the Nth occurrence of each named
@@ -157,8 +157,8 @@ DEFAULT_RMT_COMMAND=/etc/rmt.
Notice also that the full path name of the "rmt" utility to Notice also that the full path name of the "rmt" utility to
use can be set at runtime, by giving option --rmt-command to use can be set at runtime, by giving option --rmt-command to
tar. tar.
* Removed obsolete command line options: * Removed obsolete command line options:
** --absolute-paths superseded by --absolute-names ** --absolute-paths superseded by --absolute-names
** --block-compress is not needed any longer ** --block-compress is not needed any longer
@@ -171,7 +171,7 @@ tar.
* New message translations fi (Finnish), gl (Galician), hr (Croatian), * New message translations fi (Finnish), gl (Galician), hr (Croatian),
hu (Hungarian), ms (Malaysian), nb (Norwegian), ro (Romanian), sk hu (Hungarian), ms (Malaysian), nb (Norwegian), ro (Romanian), sk
(Slovak), zh_CN (Chinese simplified), zh_TW (Chinese traditional). (Slovak), zh_CN (Chinese simplified), zh_TW (Chinese traditional).
The code 'no' for Norwegian (Bokm<EFBFBD>l) has been withdrawn; use 'nb' instead. The code 'no' for Norwegian (Bokmål) has been withdrawn; use 'nb' instead.
* Bug fixes. * Bug fixes.
@@ -229,7 +229,7 @@ version 1.13.20 - Paul Eggert, 2001-08-27
The translation for Korean has been withdrawn due to encoding errors. The translation for Korean has been withdrawn due to encoding errors.
It will be reissued once those are fixed. It will be reissued once those are fixed.
version 1.13.19 - Paul Eggert, 2001-01-13 version 1.13.19 - Paul Eggert, 2001-01-13
* The -I option has been withdrawn, as it was buggy and confusing. * The -I option has been withdrawn, as it was buggy and confusing.
@@ -238,7 +238,7 @@ version 1.13.19 - Paul Eggert, 2001-01-13
* With an option like -N DATE, if DATE starts with "/" or ".", it is taken * With an option like -N DATE, if DATE starts with "/" or ".", it is taken
to be a file name; the last-modified time of that file is used as the date. to be a file name; the last-modified time of that file is used as the date.
version 1.13.18 - Paul Eggert, 2000-10-29 version 1.13.18 - Paul Eggert, 2000-10-29
* Some security problems have been fixed. `tar -x' now modifies only * Some security problems have been fixed. `tar -x' now modifies only
@@ -266,7 +266,7 @@ version 1.13.18 - Paul Eggert, 2000-10-29
* This version of tar works best with GNU gzip test version 1.3 or later. * This version of tar works best with GNU gzip test version 1.3 or later.
Please see <ftp://alpha.gnu.org/gnu/gzip/>. Please see <ftp://alpha.gnu.org/gnu/gzip/>.
* `tar --delete -f -' now works again. * `tar --delete -f -' now works again.
@@ -319,13 +319,13 @@ version 1.13.16 - Paul Eggert, 1999-12-13.
* tar now ignores socket files when creating an archive. * tar now ignores socket files when creating an archive.
Previously tar archived sockets as fifos, which caused problems. Previously tar archived sockets as fifos, which caused problems.
version 1.13.15 - Paul Eggert, 1999-12-03. version 1.13.15 - Paul Eggert, 1999-12-03.
* If a file's ctime changes when being archived, report an error. * If a file's ctime changes when being archived, report an error.
Previously tar looked at mtime, which missed some errors. Previously tar looked at mtime, which missed some errors.
version 1.13.14 - Paul Eggert, 1999-11-07. version 1.13.14 - Paul Eggert, 1999-11-07.
* New translations ja, pt_BR. * New translations ja, pt_BR.

View File

@@ -1,7 +1,7 @@
/* GNU tar Archive Format description. /* GNU tar Archive Format description.
Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
2000, 2001, 2003 Free Software Foundation, Inc. 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the under the terms of the GNU General Public License as published by the
@@ -193,7 +193,7 @@ struct oldgnu_header
#define SOLARIS_XHDTYPE 'X' #define SOLARIS_XHDTYPE 'X'
/* J<EFBFBD>rg Schilling star header */ /* Jörg Schilling star header */
struct star_header struct star_header
{ /* byte offset */ { /* byte offset */
@@ -287,17 +287,17 @@ struct tar_stat_info
unsigned long atime_nsec; unsigned long atime_nsec;
unsigned long mtime_nsec; unsigned long mtime_nsec;
unsigned long ctime_nsec; unsigned long ctime_nsec;
off_t archive_file_size; /* Size of file as stored in the archive. off_t archive_file_size; /* Size of file as stored in the archive.
Equals stat.st_size for non-sparse files */ Equals stat.st_size for non-sparse files */
bool is_sparse; /* Is the file sparse */ bool is_sparse; /* Is the file sparse */
size_t sparse_map_avail; /* Index to the first unused element in size_t sparse_map_avail; /* Index to the first unused element in
sparse_map array. Zero if the file is sparse_map array. Zero if the file is
not sparse */ not sparse */
size_t sparse_map_size; /* Size of the sparse map */ size_t sparse_map_size; /* Size of the sparse map */
struct sp_array *sparse_map; struct sp_array *sparse_map;
}; };
union block union block

View File

@@ -20,7 +20,7 @@
# Problem: Tar was not able to match directory name if the directory # Problem: Tar was not able to match directory name if the directory
# member was split between two volumes # member was split between two volumes
# References: J<EFBFBD>rg Schilling pretends to have reported this two # References: Jörg Schilling pretends to have reported this two
# years ago (<42551FF2.nail98011FRAT@burner>). # years ago (<42551FF2.nail98011FRAT@burner>).
# Test idea: # Test idea:
@@ -62,7 +62,3 @@ block 35: ** Block of NULs **
[],[],[gnu, oldgnu]) [],[],[gnu, oldgnu])
AT_CLEANUP AT_CLEANUP