mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
all: fix spelling and typos
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
parent
ef540d1af0
commit
54eb375ff1
77 changed files with 120 additions and 120 deletions
|
@ -408,7 +408,7 @@ static void
|
|||
store_alias( ARGPARSE_ARGS *arg, char *name, char *value )
|
||||
{
|
||||
/* TODO: replace this dummy function with a rea one
|
||||
* and fix the probelms IRIX has with (ALIAS_DEV)arg..
|
||||
* and fix the problems IRIX has with (ALIAS_DEV)arg..
|
||||
* used as lvalue
|
||||
*/
|
||||
(void)arg;
|
||||
|
@ -439,7 +439,7 @@ ignore_invalid_option_p (ARGPARSE_ARGS *arg, const char *keyword)
|
|||
|
||||
/* Add the keywords up to the next LF to the list of to be ignored
|
||||
options. After returning FP will either be at EOF or the next
|
||||
character read wll be the first of a new line. The function
|
||||
character read will be the first of a new line. The function
|
||||
returns 0 on success or true on malloc failure. */
|
||||
static int
|
||||
ignore_invalid_option_add (ARGPARSE_ARGS *arg, FILE *fp)
|
||||
|
@ -1280,7 +1280,7 @@ long_opt_strlen( ARGPARSE_OPTS *o )
|
|||
* this option
|
||||
* - a description,ine which starts with a '@' and is followed by
|
||||
* any other characters is printed as is; this may be used for examples
|
||||
* ans such.
|
||||
* and such.
|
||||
* - A description which starts with a '|' outputs the string between this
|
||||
* bar and the next one as arguments of the long option.
|
||||
*/
|
||||
|
|
|
@ -177,7 +177,7 @@ bin2hexcolon (const void *buffer, size_t length, char *stringbuf)
|
|||
string or a white space character. The function makes sure that
|
||||
the resulting string in BUFFER is terminated by a Nul byte. Note
|
||||
that the returned string may include embedded Nul bytes; the extra
|
||||
Nul byte at the end is used to make sure tha the result can always
|
||||
Nul byte at the end is used to make sure that the result can always
|
||||
be used as a C-string.
|
||||
|
||||
BUFSIZE is the available length of BUFFER; if the converted result
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
you pass (0) instead of (-1) the function does not wait in case the
|
||||
file is already locked but returns -1 and sets ERRNO to EACCES.
|
||||
Any other positive value for the second parameter is considered a
|
||||
timeout valuie in milliseconds.
|
||||
timeout value in milliseconds.
|
||||
|
||||
To release the lock you call:
|
||||
|
||||
|
|
|
@ -68,8 +68,8 @@
|
|||
|
||||
/*-- End configurable part. --*/
|
||||
|
||||
/* The size of the iobuffers. This can be chnages using the
|
||||
* iobuf_set_buffer_size fucntion. */
|
||||
/* The size of the iobuffers. This can be changed using the
|
||||
* iobuf_set_buffer_size function. */
|
||||
static unsigned int iobuf_buffer_size = DEFAULT_IOBUF_BUFFER_SIZE;
|
||||
|
||||
|
||||
|
|
|
@ -184,7 +184,7 @@ openpgp_oid_from_str (const char *string, gcry_mpi_t *r_mpi)
|
|||
}
|
||||
|
||||
|
||||
/* Return a malloced string represenation of the OID in the opaque MPI
|
||||
/* Return a malloced string representation of the OID in the opaque MPI
|
||||
A. In case of an error NULL is returned and ERRNO is set. */
|
||||
char *
|
||||
openpgp_oid_to_str (gcry_mpi_t a)
|
||||
|
@ -221,7 +221,7 @@ openpgp_oid_to_str (gcry_mpi_t a)
|
|||
|
||||
/* To calculate the length of the string we can safely assume an
|
||||
upper limit of 3 decimal characters per byte. Two extra bytes
|
||||
account for the special first octect */
|
||||
account for the special first octet */
|
||||
string = p = xtrymalloc (length*(1+3)+2+1);
|
||||
if (!string)
|
||||
return NULL;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
failure.
|
||||
|
||||
Note that we also escape the quote character to work around a bug
|
||||
in the mingw32 runtime which does not correcty handle command line
|
||||
in the mingw32 runtime which does not correctly handle command line
|
||||
quoting. We correctly double the quote mark when calling a program
|
||||
(i.e. gpg-protect-tool), but the pre-main code does not notice the
|
||||
double quote as an escaped quote. We do this also on POSIX systems
|
||||
|
|
|
@ -303,7 +303,7 @@ make_simple_sexp_from_hexstr (const char *line, size_t *nscanned)
|
|||
for (; n > 1; n -=2, s += 2)
|
||||
*p++ = xtoi_2 (s);
|
||||
*p++ = ')';
|
||||
*p = 0; /* (Not really neaded.) */
|
||||
*p = 0; /* (Not really needed.) */
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
|
||||
|
||||
/* Name of the socket to be used. This is a kludge to keep on using
|
||||
the existsing code despite that we only support a standard socket. */
|
||||
the existing code despite that we only support a standard socket. */
|
||||
static char *default_gpg_agent_info;
|
||||
|
||||
|
||||
|
|
|
@ -1400,7 +1400,7 @@ parse_version_number (const char *s, int *number)
|
|||
|
||||
|
||||
/* This function breaks up the complete string-representation of the
|
||||
version number S, which is of the following struture: <major
|
||||
version number S, which is of the following structure: <major
|
||||
number>.<minor number>[.<micro number>]<patch level>. The major,
|
||||
minor, and micro number components will be stored in *MAJOR, *MINOR
|
||||
and *MICRO. If MICRO is not given 0 is used instead.
|
||||
|
|
|
@ -131,7 +131,7 @@ test_close_all_fds (void)
|
|||
free (array);
|
||||
|
||||
/* Now let's check the realloc we use. We do this and the next
|
||||
tests only if we are allowed to open enought descriptors. */
|
||||
tests only if we are allowed to open enough descriptors. */
|
||||
if (get_max_fds () > 32)
|
||||
{
|
||||
int except[] = { 20, 23, 24, -1 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue