public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1544] libiberty: pex-win32.c: Fix some typos.
@ 2023-06-05 12:13 Jonathan Yong
0 siblings, 0 replies; only message in thread
From: Jonathan Yong @ 2023-06-05 12:13 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:7ee22dc8925d3db9d42a0724f5e1fcc57562306b
commit r14-1544-g7ee22dc8925d3db9d42a0724f5e1fcc57562306b
Author: Costas Argyris <costas.argyris@gmail.com>
Date: Mon Jun 5 10:03:11 2023 +0100
libiberty: pex-win32.c: Fix some typos.
libiberty/ChangeLog:
* pex-win32.c: fix typos.
Signed-off-by: Costas Argyris <costas.argyris@gmail.com>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
Diff:
---
libiberty/pex-win32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libiberty/pex-win32.c b/libiberty/pex-win32.c
index 0fd8b38734c..f7fe306036b 100644
--- a/libiberty/pex-win32.c
+++ b/libiberty/pex-win32.c
@@ -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++;
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-06-05 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-05 12:13 [gcc r14-1544] libiberty: pex-win32.c: Fix some typos Jonathan Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).