[PATCH pinentry 1/2] Fix typos

Tobias Stoeckmann tobias at stoeckmann.org
Tue Aug 13 21:46:49 CEST 2024


---
 README.GIT          | 2 +-
 pinentry/pinentry.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.GIT b/README.GIT
index ee2c638..9b39634 100644
--- a/README.GIT
+++ b/README.GIT
@@ -3,7 +3,7 @@ If you are building from GIT, run the script
 ./autogen.sh

 first, to make sure that you have all the necessary maintainer tools
-are installed and to build the actual configuration files.  If you
+installed and to build the actual configuration files.  If you
 have just checked out from GIT, you should add the option "--force" to
 autogen.sh so that meta data is noticed by autom4te.cache.  Then run

diff --git a/pinentry/pinentry.c b/pinentry/pinentry.c
index b0184c4..904cc4d 100644
--- a/pinentry/pinentry.c
+++ b/pinentry/pinentry.c
@@ -241,9 +241,9 @@ pinentry_assuan_reset_handler (assuan_context_t ctx, char *line)


 
-/* Copy TEXT or TEXTLEN to BUFFER and escape as required.  Return a
+/* Copy TEXT of TEXTLEN to BUFFER and escape as required.  Return a
    pointer to the end of the new buffer.  Note that BUFFER must be
-   large enough to keep the entire text; allocataing it 3 times of
+   large enough to keep the entire text; allocating it 3 times of
    TEXTLEN is sufficient.  */
 static char *
 copy_and_escape (char *buffer, const void *text, size_t textlen)
@@ -392,7 +392,7 @@ pinentry_get_pgmname (void)
 }


-/* Return a malloced string with the title.  The caller mus free the
+/* Return a malloced string with the title.  The caller must free the
  * string.  If no title is available or the title string has an error
  * NULL is returned.  */
 char *
@@ -1824,7 +1824,7 @@ cmd_message (assuan_context_t ctx, char *line)
 }


-/* Return a staically allocated string with information on the mode,
+/* Return a statically allocated string with information on the mode,
  * uid, and gid of DEVICE.  On error "?" is returned if DEVICE is
  * NULL, "-" is returned.  */
 static const char *
--
2.46.0




More information about the Gnupg-devel mailing list