# HG changeset patch # User Olaf Wintermann # Date 1667385563 -3600 # Node ID f4ef952ad98baa834c9709a73fc3192545d6b108 # Parent bba6a6e221b4383ce396f0babda2aa3f292e2192 disable posix code on windows in util_exec_command diff -r bba6a6e221b4 -r f4ef952ad98b libidav/utils.c --- a/libidav/utils.c Wed Nov 02 11:34:49 2022 +0100 +++ b/libidav/utils.c Wed Nov 02 11:39:23 2022 +0100 @@ -1124,7 +1124,7 @@ #ifdef _WIN32 fprintf(stderr, "util_exec_command unsupported\n"); return NULL; -#endif +#else int pout[2]; if(pipe(pout)) { @@ -1168,6 +1168,7 @@ close(pout[0]); return ret; +#endif } char* util_hexstr(const unsigned char *data, size_t len) {