Fix comment typo in canonicalize_path_enc() - Mailing list pgsql-hackers

From Japin Li
Subject Fix comment typo in canonicalize_path_enc()
Date
Msg-id SY7PR01MB1092170A5137805D8C0E45BEAB6FA2@SY7PR01MB10921.ausprd01.prod.outlook.com
Whole thread
Responses Re: Fix comment typo in canonicalize_path_enc()
List pgsql-hackers
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.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: sequencesync worker race with REFRESH SEQUENCES
Next
From: Noah Misch
Date:
Subject: Re: sequencesync worker race with REFRESH SEQUENCES