mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Clean up word replication.
-- This fixes extra word repetitions (like "the the" or "is is") in the code and docs. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
831d014550
commit
24cf0606b4
95 changed files with 136 additions and 136 deletions
|
@ -61,7 +61,7 @@
|
|||
/* GnuPG uses GPLv3+ but a standalone version of this defaults to
|
||||
GPLv2+ because that is the license of this file. Change this if
|
||||
you include it in a program which uses GPLv3. If you don't want to
|
||||
set a a copyright string for your usage() you may also hardcode it
|
||||
set a copyright string for your usage() you may also hardcode it
|
||||
here. */
|
||||
#ifndef GNUPG_MAJOR_VERSION
|
||||
|
||||
|
@ -571,7 +571,7 @@ optfile_parse (FILE *fp, const char *filename, unsigned *lineno,
|
|||
int unread_buf[3]; /* We use an int so that we can store EOF. */
|
||||
int unread_buf_count = 0;
|
||||
|
||||
if (!fp) /* Divert to to arg_parse() in this case. */
|
||||
if (!fp) /* Divert to arg_parse() in this case. */
|
||||
return arg_parse (arg, opts);
|
||||
|
||||
initialize (arg, filename, lineno);
|
||||
|
|
|
@ -414,7 +414,7 @@ start_new_gpg_agent (assuan_context_t *r_ctx,
|
|||
|
||||
/* If the agent has been configured for use with a standard
|
||||
socket, an environment variable is not required and thus
|
||||
we we can savely start the agent here. */
|
||||
we can safely start the agent here. */
|
||||
i = 0;
|
||||
argv[i++] = "--homedir";
|
||||
argv[i++] = abs_homedir;
|
||||
|
|
|
@ -411,7 +411,7 @@ struct dotlock_handle
|
|||
};
|
||||
|
||||
|
||||
/* A list of of all lock handles. The volatile attribute might help
|
||||
/* A list of all lock handles. The volatile attribute might help
|
||||
if used in an atexit handler. Note that [UN]LOCK_all_lockfiles
|
||||
must not change ERRNO. */
|
||||
static volatile dotlock_t all_lockfiles;
|
||||
|
@ -913,7 +913,7 @@ dotlock_create (const char *file_to_lock, unsigned int flags)
|
|||
|
||||
|
||||
|
||||
/* Convenience function to store a file descriptor (or any any other
|
||||
/* Convenience function to store a file descriptor (or any other
|
||||
integer value) in the context of handle H. */
|
||||
void
|
||||
dotlock_set_fd (dotlock_t h, int fd)
|
||||
|
@ -921,7 +921,7 @@ dotlock_set_fd (dotlock_t h, int fd)
|
|||
h->extra_fd = fd;
|
||||
}
|
||||
|
||||
/* Convenience function to retrieve a file descriptor (or any any other
|
||||
/* Convenience function to retrieve a file descriptor (or any other
|
||||
integer value) stored in the context of handle H. */
|
||||
int
|
||||
dotlock_get_fd (dotlock_t h)
|
||||
|
|
|
@ -2502,7 +2502,7 @@ iobuf_get_fname_nonnull (iobuf_t a)
|
|||
* Enable or disable partial body length mode (RFC 4880 4.2.2.4).
|
||||
*
|
||||
* If LEN is 0, this disables partial block mode by popping the
|
||||
* partial body length filter, which which must be the most recently
|
||||
* partial body length filter, which must be the most recently
|
||||
* added filter.
|
||||
*
|
||||
* If LEN is non-zero, it pushes a partial body length filter. If
|
||||
|
|
|
@ -67,7 +67,7 @@ init_membuf_secure (membuf_t *mb, int initiallen)
|
|||
}
|
||||
|
||||
|
||||
/* Shift the the content of the membuf MB by AMOUNT bytes. The next
|
||||
/* Shift the content of the membuf MB by AMOUNT bytes. The next
|
||||
operation will then behave as if AMOUNT bytes had not been put into
|
||||
the buffer. If AMOUNT is greater than the actual accumulated
|
||||
bytes, the membuf is basically reset to its initial state. */
|
||||
|
|
|
@ -59,7 +59,7 @@ struct name_value_entry
|
|||
/* The name. Comments and blank lines have NAME set to NULL. */
|
||||
char *name;
|
||||
|
||||
/* The value as stored in the file. We store it when when we parse
|
||||
/* The value as stored in the file. We store it when we parse
|
||||
a file so that we can reproduce it. */
|
||||
strlist_t raw_value;
|
||||
|
||||
|
|
|
@ -317,7 +317,7 @@ session_env_getenv (session_env_t se, const char *name)
|
|||
long it has not been removed or updated by a call to
|
||||
session_env_putenv. If the variable does not exist, the function
|
||||
tries to return the value trough a call to getenv; if that returns
|
||||
a value, this value is recorded and and used. If no value could be
|
||||
a value, this value is recorded and used. If no value could be
|
||||
found, returns NULL. The caller must not change the returned
|
||||
value. */
|
||||
char *
|
||||
|
|
|
@ -89,7 +89,7 @@ sskip (unsigned char const **buf, int *depth)
|
|||
}
|
||||
|
||||
|
||||
/* Check whether the the string at the address BUF points to matches
|
||||
/* Check whether the string at the address BUF points to matches
|
||||
the token. Return true on match and update BUF to point behind the
|
||||
token. Return false and do not update the buffer if it does not
|
||||
match. */
|
||||
|
|
|
@ -352,7 +352,7 @@ default_inq_cb (void *opaque, const char *line)
|
|||
|
||||
/* Ask the gpg-agent for a passphrase and present the user with a
|
||||
DESCRIPTION, a PROMPT and optionally with a TRYAGAIN extra text.
|
||||
If a CACHEID is not NULL it is used to locate the passphrase in in
|
||||
If a CACHEID is not NULL it is used to locate the passphrase in
|
||||
the cache and store it under this ID. If OPT_CHECK is true
|
||||
gpg-agent is asked to apply some checks on the passphrase security.
|
||||
If ERRORCODE is not NULL it should point a variable receiving an
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
/* Ask the gpg-agent for a passphrase and present the user with a
|
||||
DESCRIPTION, a PROMPT and optiaonlly with a TRYAGAIN extra text.
|
||||
If a CACHEID is not NULL it is used to locate the passphrase in in
|
||||
If a CACHEID is not NULL it is used to locate the passphrase in
|
||||
the cache and store it under this ID. If OPT_CHECK is true
|
||||
gpg-agent is asked to apply some checks on the passphrase security.
|
||||
If ERRORCODE is not NULL it should point a variable receiving an
|
||||
|
|
|
@ -602,7 +602,7 @@ tty_get( const char *prompt )
|
|||
return do_get ( prompt, 0 );
|
||||
}
|
||||
|
||||
/* Variable argument version of tty_get. The prompt is is actually a
|
||||
/* Variable argument version of tty_get. The prompt is actually a
|
||||
format string with arguments. */
|
||||
char *
|
||||
tty_getf (const char *promptfmt, ... )
|
||||
|
|
|
@ -160,7 +160,7 @@ set_native_charset (const char *newset)
|
|||
const char *aliases;
|
||||
|
||||
/* We are a console program thus we need to use the
|
||||
GetConsoleOutputCP function and not the the GetACP which
|
||||
GetConsoleOutputCP function and not the GetACP which
|
||||
would give the codepage for a GUI program. Note this is not
|
||||
a bulletproof detection because GetConsoleCP might return a
|
||||
different one for console input. Not sure how to cope with
|
||||
|
|
|
@ -114,7 +114,7 @@ answer_is_yes_no_quit ( const char *s )
|
|||
}
|
||||
|
||||
/*
|
||||
Return 1 for okay, 0 for for cancel or DEF_ANSWER for default.
|
||||
Return 1 for okay, 0 for cancel or DEF_ANSWER for default.
|
||||
*/
|
||||
int
|
||||
answer_is_okay_cancel (const char *s, int def_answer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue