gnodet opened a new pull request, #1915:
URL: https://github.com/apache/maven-resolver/pull/1915

   The condition for ignoring SIGTSTP in `IpcServer.main()` was inverted:
   
   - `if (IpcClient.IS_WINDOWS)` tried to register a SIGTSTP handler **on 
Windows**, where the signal does not exist — causing a crash at daemon startup.
   - On **Unix** (where SIGTSTP actually exists and is sent on Ctrl-Z), nothing 
was ignored — causing the IPC daemon to suspend alongside the client when the 
user pressed Ctrl-Z.
   
   **Fix:** Negate the condition to `if (!IpcClient.IS_WINDOWS)` so that 
SIGTSTP is ignored on Unix only.
   
   This is a one-character fix (`!` added) with no behavioral change on any OS 
other than making things work correctly:
   - **Unix:** SIGTSTP now properly ignored → daemon stays alive on Ctrl-Z ✓
   - **Windows:** SIGTSTP registration skipped → no crash ✓


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to