[PATCH] tests: Fixes building test-util-filemonitor.c on msys2/mingw

2020-09-05 Thread Yonggang Luo
Fixes the following compiling error: ../tests/test-util-filemonitor.c: In function 'test_file_monitor_events': ../tests/test-util-filemonitor.c:620:17: error: too many arguments to function 'mkdir' 620 | if (mkdir(pathsrc, 0700) < 0) { | ^ In file included f

Re: [PATCH] tests: Fixes building test-util-filemonitor.c on msys2/mingw

2020-09-05 Thread Richard Henderson
On 9/5/20 1:34 PM, Yonggang Luo wrote: > Fixes the following compiling error: > ../tests/test-util-filemonitor.c: In function 'test_file_monitor_events': > ../tests/test-util-filemonitor.c:620:17: error: too many arguments to > function 'mkdir' > 620 | if (mkdir(pathsrc, 0700) < 0) {

Re: [PATCH] tests: Fixes building test-util-filemonitor.c on msys2/mingw

2020-09-09 Thread Daniel P . Berrangé
On Sun, Sep 06, 2020 at 04:34:25AM +0800, Yonggang Luo wrote: > Fixes the following compiling error: > ../tests/test-util-filemonitor.c: In function 'test_file_monitor_events': > ../tests/test-util-filemonitor.c:620:17: error: too many arguments to > function 'mkdir' > 620 | if (mkdi