Fix comment typo in canonicalize_path_enc()

Поиск
Список
Период
Сортировка
Искать

Fix comment typo in canonicalize_path_enc()

От:
Japin Li <japinli@hotmail.com>
Дата:

Hi, hackers

I found a small typo in the canonicalize_path_enc() comment -- it should be
"parsed", not "parse".

diff --git a/src/port/path.c b/src/port/path.c
index fef0ae77f87..3938ff33af3 100644
--- a/src/port/path.c
+++ b/src/port/path.c
@@ -408,7 +408,7 @@ canonicalize_path_enc(char *path, int encoding)
 	 *
 	 * This loop overwrites the path in-place.  This is safe since we'll never
 	 * make the path longer.  "unparse" points to where we are reading the
-	 * path, "parse" to where we are writing.
+	 * path, "parsed" to where we are writing.
 	 */
 	spath = skip_drive(path);
 	if (*spath == '\0')

-- 
Regards,
Japin Li
ChengDu WenWu Information Technology Co., Ltd.


Re: Fix comment typo in canonicalize_path_enc()

От:
Michael Paquier <michael@paquier.xyz>
Дата:
Вложения:
On Mon, Jul 13, 2026 at 11:34:38AM +0800, Japin Li wrote:
> I found a small typo in the canonicalize_path_enc() comment -- it should be
> "parsed", not "parse".

As in the variable name.  Thanks, grabbed for later.
--
Michael
FAQ