Fix typos
Typos found with codespell
This commit is contained in:
committed by
Sergey Poznyakoff
parent
8e82f367d4
commit
3730dddb3f
@@ -40,7 +40,7 @@ struct wordsplit
|
||||
char **ws_wordv; /* [Output] Array of parsed out words. */
|
||||
size_t ws_offs; /* [Input] (WRDSF_DOOFFS) Number of initial
|
||||
elements in ws_wordv to fill with NULLs. */
|
||||
size_t ws_wordn; /* Number of elements ws_wordv can accomodate. */
|
||||
size_t ws_wordn; /* Number of elements ws_wordv can accommodate. */
|
||||
unsigned ws_flags; /* [Input] Flags passed to wordsplit. */
|
||||
unsigned ws_options; /* [Input] (WRDSF_OPTIONS)
|
||||
Additional options. */
|
||||
|
||||
@@ -63,7 +63,7 @@ ssize_t getxattrat (int dir_fd, const char *path, const char *name,
|
||||
ssize_t lgetxattrat (int dir_fd, const char *path, const char *name,
|
||||
void *value, size_t size);
|
||||
|
||||
/* dir-fd-relative listxattr. Obtain the list of extended attrubtes names. For
|
||||
/* dir-fd-relative listxattr. Obtain the list of extended attributes names. For
|
||||
more info see the listxattr(2) manpage. */
|
||||
ssize_t listxattrat (int dir_fd, const char *path, char *list, size_t size);
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ TAR=/bin/tar
|
||||
# In this case you will have to use public key authentication.
|
||||
RSH=/usr/local/bin/ssh
|
||||
|
||||
# (Optional) Path to rsh binary on remote mashines. This will be
|
||||
# (Optional) Path to rsh binary on remote machines. This will be
|
||||
# passed via --rsh-command option to the remote invocation of
|
||||
# tar
|
||||
RSH_COMMAND=/usr/local/bin/ssh
|
||||
@@ -43,7 +43,7 @@ BACKUP_DIRS='remote1:/etc remote1:/var/spool/crontab'
|
||||
# DIRLIST=/etc/my-backup/dirlist
|
||||
|
||||
# List of individual files to be dumped.
|
||||
# These should be accesible from the machine on which the dump is run.
|
||||
# These should be accessible from the machine on which the dump is run.
|
||||
BACKUP_FILES=''
|
||||
# This list may also be kept in file $SYSCONFDIR/backup/files, the
|
||||
# format of which is the same as described above. The location of
|
||||
|
||||
@@ -183,7 +183,7 @@ restore_files()
|
||||
done
|
||||
}
|
||||
|
||||
# Operation Overwiew:
|
||||
# Operation Overview:
|
||||
#
|
||||
# 1. Determine the time of the last backup
|
||||
# 2. Create list of incremental listings to process
|
||||
|
||||
@@ -456,7 +456,7 @@ mark_after_links (struct delayed_set_stat *head)
|
||||
members. To help cope with this case the variable
|
||||
delay_directory_restore_option is set by prepare_to_extract.
|
||||
|
||||
If an archive was explicitely created so that its member order is
|
||||
If an archive was explicitly created so that its member order is
|
||||
reversed, some directory timestamps can be restored incorrectly,
|
||||
e.g.:
|
||||
tar --no-recursion -cf archive dir dir/file1 foo dir/file2
|
||||
|
||||
@@ -395,7 +395,7 @@ handle_file_selection_option (int key, const char *arg)
|
||||
break;
|
||||
|
||||
case NO_ANCHORED_OPTION:
|
||||
include_anchored = 0; /* Clear the default for comman line args */
|
||||
include_anchored = 0; /* Clear the default for command line args */
|
||||
matching_flags &= ~ EXCLUDE_ANCHORED;
|
||||
break;
|
||||
|
||||
|
||||
@@ -1019,7 +1019,7 @@ static struct tar_sparse_optab const star_optab = {
|
||||
* 1.0
|
||||
|
||||
Starting from this version, the exact sparse format version is specified
|
||||
explicitely in the header using the following variables:
|
||||
explicitly in the header using the following variables:
|
||||
|
||||
GNU.sparse.major Major version
|
||||
GNU.sparse.minor Minor version
|
||||
|
||||
@@ -538,7 +538,7 @@ sys_child_open_for_uncompress (void)
|
||||
&& !_remdev (archive_name_array[0])
|
||||
&& is_regular_file (archive_name_array[0]))
|
||||
{
|
||||
/* We don't need a grandchild tar. Open the archive and lauch the
|
||||
/* We don't need a grandchild tar. Open the archive and launch the
|
||||
uncompressor. */
|
||||
|
||||
archive = open (archive_name_array[0], O_RDONLY | O_BINARY, MODE_RW);
|
||||
|
||||
@@ -889,7 +889,7 @@ enum option_class
|
||||
};
|
||||
|
||||
/* Table of locations of potentially conflicting options. Two options can
|
||||
conflict only if they procede from the command line. Otherwise, options
|
||||
conflict only if they proceed from the command line. Otherwise, options
|
||||
in command line silently override those defined in TAR_OPTIONS. */
|
||||
static struct option_locus *option_class[OC_MAX];
|
||||
|
||||
@@ -2697,7 +2697,7 @@ decode_options (int argc, char **argv)
|
||||
if (backup_option)
|
||||
{
|
||||
backup_type = xget_version ("--backup", args.version_control_string);
|
||||
/* No backup is needed either if explicitely disabled or if
|
||||
/* No backup is needed either if explicitly disabled or if
|
||||
the extracted files are not being written to disk. */
|
||||
if (backup_type == no_backups || EXTRACT_OVER_PIPE)
|
||||
backup_option = false;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#
|
||||
# Test description: Test if file capabilities are archived/restored correctly
|
||||
# using just the default xattr support (capabilities are stored/restored in
|
||||
# binary format -> system dependant).
|
||||
# binary format -> system dependent).
|
||||
|
||||
AT_SETUP([capabilities: binary store/restore])
|
||||
AT_KEYWORDS([xattrs capabilities capabs_raw01])
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
# --listed-incremental option is given.
|
||||
#
|
||||
# This testcase verifies whether the --exclude-tag-all option works
|
||||
# as expected whe used together with --listed-incremental. If the
|
||||
# as expected when used together with --listed-incremental. If the
|
||||
# exclusion tag is created after the level 0 dump, the level 1 dump
|
||||
# must skip the entire affected subdirectory and any previously-included
|
||||
# files within it.
|
||||
|
||||
@@ -38,7 +38,7 @@ chmod 777 dir
|
||||
tar -xf a.tar --no-overwrite-dir
|
||||
genfile --stat=mode.777 dir
|
||||
|
||||
# Test if temprorary permissions are set correctly to allow the owner
|
||||
# Test if temporary permissions are set correctly to allow the owner
|
||||
# to write to the directory.
|
||||
genfile --file dir/file
|
||||
tar cf a.tar dir
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Description: For some intermediate versions of tar 1.26.90,
|
||||
# tar would fail to correctly cannonicalize archive member names
|
||||
# tar would fail to correctly canonicalize archive member names
|
||||
# in incremental mode if there was a -C options with an absolute path
|
||||
# on the command line without any archive members specified within that
|
||||
# directory. (In that case, the canonical name generated for
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Description: Tar <=1.28 would segfault extracting from a multi-volume
|
||||
# archive containging filenames >= 100 characters if the subsequent volume
|
||||
# archive containing filenames >= 100 characters if the subsequent volume
|
||||
# was not set properly.
|
||||
# Reported by: Pavel Raiskup <praiskup@redhat.com>
|
||||
# References: https://bugzilla.redhat.com/show_bug.cgi?id=866071,
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# Description: Test interaction of --recursion and --no-recursion options.
|
||||
# Each of them remains in effect until cancelled by the next ocurrence
|
||||
# Each of them remains in effect until cancelled by the next occurrence
|
||||
# of its counterpart. This didn't work in v.1.27.1 and was fixed by
|
||||
# commit 2bd9c153.
|
||||
# Reported by: Kai <hellsy22@mail.ru>
|
||||
|
||||
@@ -131,7 +131,7 @@ m4_define([AT_TAR_MKHIER],[
|
||||
install-sh -d $1 >/dev/null dnl
|
||||
m4_if([$2],,,&& genfile --file [$1]/[$2]) || AT_SKIP_TEST])
|
||||
|
||||
dnl Skip test when utlity does not return expected return value
|
||||
dnl Skip test when utility does not return expected return value
|
||||
m4_define([AT_CHECK_UTIL],[
|
||||
$1 &> /dev/null
|
||||
if test "$?" != $2; then
|
||||
|
||||
Reference in New Issue
Block a user