]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libiberty: pex-win32.c: Fix some typos.
authorCostas Argyris <costas.argyris@gmail.com>
Mon, 5 Jun 2023 09:03:11 +0000 (10:03 +0100)
committerJonathan Yong <10walls@gmail.com>
Mon, 5 Jun 2023 12:13:28 +0000 (12:13 +0000)
libiberty/ChangeLog:

* pex-win32.c: fix typos.

Signed-off-by: Costas Argyris <costas.argyris@gmail.com>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
libiberty/pex-win32.c

index 0fd8b38734c7683f2f7ce5a465b54007ab37137f..f7fe306036bb5fe14d039a331b626dacb2149e05 100644 (file)
@@ -351,7 +351,7 @@ argv_to_cmdline (char *const *argv)
         prevent wasting 2 chars per argument of the CreateProcess 32k char
         limit.  We need only escape embedded double-quotes and immediately
         preceeding backslash characters.  A sequence of backslach characters
-        that is not follwed by a double quote character will not be
+        that is not followed by a double quote character will not be
         escaped.  */
       needs_quotes = 0;
       for (j = 0; argv[i][j]; j++)
@@ -366,7 +366,7 @@ argv_to_cmdline (char *const *argv)
              /* Escape preceeding backslashes.  */
              for (k = j - 1; k >= 0 && argv[i][k] == '\\'; k--)
                cmdline_len++;
-             /* Escape the qote character.  */
+             /* Escape the quote character.  */
              cmdline_len++;
            }
        }