]> git.ipfire.org Git - thirdparty/curl.git/commit
tidy-up: align MSYS2/Cygwin codepaths, follow Cygwin `MAX_PID` bump
authorViktor Szakats <commit@vsz.me>
Thu, 20 Feb 2025 22:42:46 +0000 (23:42 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 21 Feb 2025 10:58:05 +0000 (11:58 +0100)
commit4842f22bfa23a2304e1fd8fa04cfd8b0bd1a0a92
tree0628af9e4d05bbc587132ab726eadb6bda3c5c15
parent540d341b386d2865c14438553e734b4ccdd510ee
tidy-up: align MSYS2/Cygwin codepaths, follow Cygwin `MAX_PID` bump

MSYS/MSYS2 and Cygwin are the same platform. Adjust code where they were
treated differently.

- drop separate `MSYS` from buildinfo flags. Our code is using the
  `CYGWIN` variable and CMake (since v3.21) sets it also for `MSYS`.
- fix test1158 and test1186 to exclude them for all Win32 targets,
  instead of just MSYS test envs. To align behavior between MSYS and
  Cygwin envs. Required for recent MSYS2 releases which reports itself
  as Cygwin, and no longer MSYS, which broke the previous exclusion
  logic.
- follow Cygwin bumping its `MAX_PID` value, to avoid PID collisions.
  https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=363357c023ce01e936bdaedf0f479292a8fa4e0f

Reported-by: Jeremy Drake
Bug: https://github.com/curl/curl/pull/16217#issuecomment-2672768233
Ref: https://www.msys2.org/news/#2025-02-14-moving-msys2-closer-to-cygwin
Closes #16411
CMakeLists.txt
acinclude.m4
tests/data/test1158
tests/data/test1186
tests/dictserver.py
tests/negtelnetserver.py
tests/processhelp.pm
tests/server/util.c
tests/smbserver.py