Commit Graph

7 Commits

Author SHA1 Message Date
Dmitry Tsarevich 65d528f1f8
client: Use string.empty() instead of == '' 2020-05-07 14:44:13 +03:00
Dmitry Tsarevich c09041eb7a
client: Use string.clear() instead of = '' to increase performance 2020-05-07 14:43:14 +03:00
Dmitry Tsarevich 471114fd5a
client: If CreateProcess succeeds, the return value is nonzero
It is not correct to compare CreateProcess result with TRUE value.
Docs say for success return value is nonzero, not only TRUE.
2020-05-07 14:12:54 +03:00
Vitalii Koshura 77b1f34d31
[Client] [WSL] Fix xml output
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-06-27 01:25:38 +03:00
Vitalii Koshura ba1c187445
[Client] [WSL] Add missed CloseHandle()
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-06-24 20:15:28 +03:00
Vitalii Koshura f8f6443074
[Client] [WSL] Extend detection.
Move WSL detection to get_host_info().
Enumerate available WSLs from registry.
Add wslapi library loading.
Add support of multiple installed wsl distros detection.
Detect only installed and configured distros.
Add extra information parse.
Add wslinfo files to save and parse wsl info.
Add dont_use_wsl param to cc_config.
Add missed hostinfo_wsl.cpp when building win client using gcc.
Fix small issues.
Small refactoring.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-06-24 03:08:11 +03:00
Vitalii Koshura 19a13d1e80
Move common linux detection functions to separate file.
Move WSL detection functions to separate file.
Update projet files for Windows, linux and MacOS

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2018-05-27 20:06:16 +03:00