diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/applygnupgdefaults | 2 | ||||
-rw-r--r-- | tools/gpg-connect-agent.c | 2 | ||||
-rw-r--r-- | tools/mime-maker.c | 6 | ||||
-rw-r--r-- | tools/mime-parser.c | 2 |
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) |