postgres.git / summary / log / commit / refs
commit 7705f8ca03713457bf7cde0b859a1ab45e4f268b
Author: Bruce Momjian <bruce@momjian.us>
Date: Sat Dec 26 01:49:50 2020 +0000
First released in: 14.0
Fix function call typo in frontend Win32 code, commit 978f869b99
Reported-by: buildfarm member walleye
Backpatch-through: master
src/common/kmgr_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/kmgr_utils.c b/src/common/kmgr_utils.c
index db8572c8eae..f499e2525e0 100644
--- a/src/common/kmgr_utils.c
+++ b/src/common/kmgr_utils.c
@@ -348,7 +348,7 @@ open_pipe_stream(const char *command)
return NULL;
}
buf[0] = '"';
- mempcy(&buf[1], command, cmdlen);
+ memcpy(&buf[1], command, cmdlen);
buf[cmdlen + 1] = '"';
buf[cmdlen + 2] = '\0';
[parent: 300e430c7664]