aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2016-09-15 18:21:15 +0000
committerNIIBE Yutaka <[email protected]>2016-09-17 07:00:37 +0000
commit0d67241e317b172a258a910c02d90639e2b08fce (patch)
treef1f68c8a94af20f1a3273da46633c7f8af750bc4 /tools
parentmove some file encodings to UTF-8 (diff)
downloadgnupg-0d67241e317b172a258a910c02d90639e2b08fce.tar.gz
gnupg-0d67241e317b172a258a910c02d90639e2b08fce.zip
Fix more spelling
* NEWS, acinclude.m4, agent/command-ssh.c, agent/command.c, agent/gpg-agent.c, agent/keyformat.txt, agent/protect-tool.c, common/asshelp.c, common/b64enc.c, common/recsel.c, doc/DETAILS, doc/HACKING, doc/Notes, doc/TRANSLATE, doc/dirmngr.texi, doc/faq.org, doc/gpg-agent.texi, doc/gpg.texi, doc/gpgsm.texi, doc/instguide.texi, g10/armor.c, g10/gpg.c, g10/keyedit.c, g10/mainproc.c, g10/pkclist.c, g10/tofu.c, g13/sh-cmd.c, g13/sh-dmcrypt.c, kbx/keybox-init.c, m4/pkg.m4, sm/call-dirmngr.c, sm/gpgsm.c, tests/Makefile.am, tests/gpgscm/Manual.txt, tests/gpgscm/scheme.c, tests/openpgp/gpgv-forged-keyring.scm, tests/openpgp/multisig.test, tests/openpgp/verify.scm, tests/pkits/README, tools/applygnupgdefaults, tools/gpg-connect-agent.c, tools/mime-maker.c, tools/mime-parser.c: minor spelling cleanup. Signed-off-by: Daniel Kahn Gillmor <[email protected]>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/applygnupgdefaults2
-rw-r--r--tools/gpg-connect-agent.c2
-rw-r--r--tools/mime-maker.c6
-rw-r--r--tools/mime-parser.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/tools/applygnupgdefaults b/tools/applygnupgdefaults
index 2f298541b..54365ce34 100755
--- a/tools/applygnupgdefaults
+++ b/tools/applygnupgdefaults
@@ -63,7 +63,7 @@ ${cat_passwd} \
| while IFS=: read -r user dmy_a uid dmy_c dmy_d home shell dmy_rest; do
# Process only entries with a valid login shell
grep </etc/shells "^$shell" 2>/dev/null >/dev/null || continue
- # and with an existant gnupg home directory
+ # and with an pre-existing gnupg home directory
[ -d "$home/.gnupg" ] || continue
# but not root
[ "${uid:-0}" -eq 0 ] && continue
diff --git a/tools/gpg-connect-agent.c b/tools/gpg-connect-agent.c
index 106a8eb61..d90365baf 100644
--- a/tools/gpg-connect-agent.c
+++ b/tools/gpg-connect-agent.c
@@ -413,7 +413,7 @@ get_var (const char *name)
}
-/* Perform some simple arithmentic operations. Caller must release
+/* Perform some simple arithmetic operations. Caller must release
the return value. On error the return value is NULL. */
static char *
arithmetic_op (int operator, const char *operands)
diff --git a/tools/mime-maker.c b/tools/mime-maker.c
index fa4204328..231889167 100644
--- a/tools/mime-maker.c
+++ b/tools/mime-maker.c
@@ -27,7 +27,7 @@
#include "mime-maker.h"
-/* All valid charachters in a header name. */
+/* All valid characters in a header name. */
#define HEADER_NAME_CHARS ("abcdefghijklmnopqrstuvwxyz" \
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
"-01234567890")
@@ -203,7 +203,7 @@ find_parent (part_t root, part_t needle)
/* Create a boundary string. Outr codes is aware of the general
* structure of that string (gebins with "=-=") so that
- * it can protect against accidently used boundaries within the
+ * it can protect against accidentally-used boundaries within the
* content. */
static char *
generate_boundary (mime_maker_t ctx)
@@ -369,7 +369,7 @@ mime_maker_add_header (mime_maker_t ctx, const char *name, const char *value)
gpg_error_t err;
part_t part, parent;
- /* Hack to use this fucntion for a synacx check of NAME and VALUE. */
+ /* Hack to use this function for a syntax check of NAME and VALUE. */
if (!ctx)
return add_header (NULL, name, value);
diff --git a/tools/mime-parser.c b/tools/mime-parser.c
index 5f3659ee5..7ac3c69cb 100644
--- a/tools/mime-parser.c
+++ b/tools/mime-parser.c
@@ -123,7 +123,7 @@ show_message_parser_event (rfc822parse_event_t event)
/* Do in-place decoding of quoted-printable data of LENGTH in BUFFER.
Returns the new length of the buffer and stores true at R_SLBRK if
the line ended with a soft line break; false is stored if not.
- This fucntion asssumes that a complete line is passed in
+ This function asssumes that a complete line is passed in
buffer. */
static size_t
qp_decode (char *buffer, size_t length, int *r_slbrk)