From 52cebe1597cef201f28dc3c6122dc022616362c2 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 14 Nov 2021 22:37:51 +0100 Subject: [PATCH] Fix Windows sc_pipe function names The implementation name was incorrect (it was harmless, because they are not used on Windows). --- app/src/sys/win/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/sys/win/process.c b/app/src/sys/win/process.c index 4dcd542e..e4460ea7 100644 --- a/app/src/sys/win/process.c +++ b/app/src/sys/win/process.c @@ -168,7 +168,7 @@ sc_process_close(HANDLE handle) { } ssize_t -sc_read_pipe(HANDLE pipe, char *data, size_t len) { +sc_pipe_read(HANDLE pipe, char *data, size_t len) { DWORD r; if (!ReadFile(pipe, data, len, &r, NULL)) { return -1; @@ -177,7 +177,7 @@ sc_read_pipe(HANDLE pipe, char *data, size_t len) { } void -sc_close_pipe(HANDLE pipe) { +sc_pipe_close(HANDLE pipe) { if (!CloseHandle(pipe)) { LOGW("Cannot close pipe"); }