diff options
author | cperciva <cperciva@FreeBSD.org> | 2006-12-28 05:21:48 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2006-12-28 05:21:48 +0000 |
commit | 64644d520d281380279f3c59457f0d694a702540 (patch) | |
tree | aa15417a91c5f93efc48a87851f2026e2a863cb7 /lib | |
parent | 36bb745cb01b4073b42f2c086e93482af41cfc42 (diff) | |
download | FreeBSD-src-64644d520d281380279f3c59457f0d694a702540.zip FreeBSD-src-64644d520d281380279f3c59457f0d694a702540.tar.gz |
Correct spelling of "accommodate", "guarantee", "guaranteed", "guard",
"return", "ridiculous", and "success".
MFC after: 3 days
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libarchive/archive.h.in | 4 | ||||
-rw-r--r-- | lib/libarchive/archive_private.h | 4 | ||||
-rw-r--r-- | lib/libarchive/archive_read.c | 2 | ||||
-rw-r--r-- | lib/libarchive/archive_read_support_compression_bzip2.c | 2 | ||||
-rw-r--r-- | lib/libarchive/archive_read_support_compression_none.c | 2 | ||||
-rw-r--r-- | lib/libarchive/archive_read_support_format_cpio.c | 4 | ||||
-rw-r--r-- | lib/libarchive/archive_write.3 | 2 | ||||
-rw-r--r-- | lib/libarchive/libarchive.3 | 2 |
8 files changed, 11 insertions, 11 deletions
diff --git a/lib/libarchive/archive.h.in b/lib/libarchive/archive.h.in index e0fe3e0..95a9915 100644 --- a/lib/libarchive/archive.h.in +++ b/lib/libarchive/archive.h.in @@ -84,7 +84,7 @@ struct archive_entry; #define ARCHIVE_EOF 1 /* Found end of archive. */ #define ARCHIVE_OK 0 /* Operation was successful. */ #define ARCHIVE_RETRY (-10) /* Retry might succeed. */ -#define ARCHIVE_WARN (-20) /* Partial sucess. */ +#define ARCHIVE_WARN (-20) /* Partial success. */ #define ARCHIVE_FATAL (-30) /* No more operations are possible. */ /* @@ -236,7 +236,7 @@ ssize_t archive_read_data(struct archive *, void *, size_t); /* * A zero-copy version of archive_read_data that also exposes the file offset * of each returned block. Note that the client has no way to specify - * the desired size of the block. The API does gaurantee that offsets will + * the desired size of the block. The API does guarantee that offsets will * be strictly increasing and that returned blocks will not overlap. */ int archive_read_data_block(struct archive *a, diff --git a/lib/libarchive/archive_private.h b/lib/libarchive/archive_private.h index cc63c1e..300b79d 100644 --- a/lib/libarchive/archive_private.h +++ b/lib/libarchive/archive_private.h @@ -39,7 +39,7 @@ struct archive { /* * The magic/state values are used to sanity-check the * client's usage. If an API function is called at a - * rediculous time, or the client passes us an invalid + * ridiculous time, or the client passes us an invalid * pointer, these values allow me to catch that. */ unsigned magic; @@ -167,7 +167,7 @@ struct archive { * multiple format readers active at one time, so we need to * allow for multiple format readers to have their data * available. The pformat_data slot here is the solution: on - * read, it is gauranteed to always point to a void* variable + * read, it is guaranteed to always point to a void* variable * that the format can use. */ void **pformat_data; /* Pointer to current format_data. */ diff --git a/lib/libarchive/archive_read.c b/lib/libarchive/archive_read.c index eafe4a8..26ad816 100644 --- a/lib/libarchive/archive_read.c +++ b/lib/libarchive/archive_read.c @@ -298,7 +298,7 @@ archive_read_next_header(struct archive *a, struct archive_entry **entryp) /* * EOF and FATAL are persistent at this layer. By - * modifying the state, we gaurantee that future calls to + * modifying the state, we guarantee that future calls to * read a header or read data will fail. */ switch (ret) { diff --git a/lib/libarchive/archive_read_support_compression_bzip2.c b/lib/libarchive/archive_read_support_compression_bzip2.c index a389fdd..f5e8ab9 100644 --- a/lib/libarchive/archive_read_support_compression_bzip2.c +++ b/lib/libarchive/archive_read_support_compression_bzip2.c @@ -120,7 +120,7 @@ bid(const void *buff, size_t len) * thorough check. It's especially troubling that the BZip2 * signature begins with all ASCII characters; a tar archive * whose first filename begins with 'BZh3' would potentially - * fool this logic. (It may also be possible to gaurd against + * fool this logic. (It may also be possible to guard against * such anomalies in archive_read_support_compression_none.) */ diff --git a/lib/libarchive/archive_read_support_compression_none.c b/lib/libarchive/archive_read_support_compression_none.c index 3f86d72..5003423 100644 --- a/lib/libarchive/archive_read_support_compression_none.c +++ b/lib/libarchive/archive_read_support_compression_none.c @@ -267,7 +267,7 @@ archive_decompressor_none_read_consume(struct archive *a, size_t request) /* * Skip forward by exactly the requested bytes or else return * ARCHIVE_FATAL. Note that this differs from the contract for - * read_ahead, which does not gaurantee a minimum count. + * read_ahead, which does not guarantee a minimum count. */ static ssize_t archive_decompressor_none_skip(struct archive *a, size_t request) diff --git a/lib/libarchive/archive_read_support_format_cpio.c b/lib/libarchive/archive_read_support_format_cpio.c index 1e77ec5..4d5c15c 100644 --- a/lib/libarchive/archive_read_support_format_cpio.c +++ b/lib/libarchive/archive_read_support_format_cpio.c @@ -367,7 +367,7 @@ header_newc(struct archive *a, struct cpio *cpio, struct stat *st, /* * Note: entry_bytes_remaining is at least 64 bits and - * therefore gauranteed to be big enough for a 33-bit file + * therefore guaranteed to be big enough for a 33-bit file * size. struct stat.st_size may only be 32 bits, so * assigning there first could lose information. */ @@ -412,7 +412,7 @@ header_odc(struct archive *a, struct cpio *cpio, struct stat *st, /* * Note: entry_bytes_remaining is at least 64 bits and - * therefore gauranteed to be big enough for a 33-bit file + * therefore guaranteed to be big enough for a 33-bit file * size. struct stat.st_size may only be 32 bits, so * assigning there first could lose information. */ diff --git a/lib/libarchive/archive_write.3 b/lib/libarchive/archive_write.3 index 756d67d..8d50af9 100644 --- a/lib/libarchive/archive_write.3 +++ b/lib/libarchive/archive_write.3 @@ -323,7 +323,7 @@ on success. On failure, the callback should invoke .Fn archive_set_error to register an error code and message and -regurn +return .Cm ARCHIVE_FATAL. .Sh EXAMPLE The following sketch illustrates basic usage of the library. diff --git a/lib/libarchive/libarchive.3 b/lib/libarchive/libarchive.3 index 2c9362a..8fa5e72 100644 --- a/lib/libarchive/libarchive.3 +++ b/lib/libarchive/libarchive.3 @@ -255,7 +255,7 @@ Users familiar with historic formats should be aware that the newer variants have eliminated most restrictions on the length of textual fields. Clients should not assume that filenames, link names, user names, or group names are limited in length. -In particular, pax interchange format can easily accomodate pathnames +In particular, pax interchange format can easily accommodate pathnames in arbitrary character sets that exceed .Va PATH_MAX . .Sh RETURN VALUES |