https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=9b418975d74c1801c03944bd4f29bff5d4a660c4
commit 9b418975d74c1801c03944bd4f29bff5d4a660c4 Author: Takashi Yano <takashi.y...@nifty.ne.jp> Date: Fri May 2 20:04:26 2025 +0900 Cygwin: cygserver: Drop -f option from ps in cygserver-config ... because cygserver-config no longer works due to the behaviour change of -f option in 'ps'. Addresses: https://cygwin.com/pipermail/cygwin/2025-April/258086.html Fixes: 1ce9756ee61e ("Cygwin: ps -f: output command line") Reported-by: Christian Lupien <christian.lup...@usherbrooke.ca> Signed-off-by: Takashi Yano <takashi.y...@nifty.ne.jp> Diff: --- winsup/cygserver/cygserver-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygserver/cygserver-config b/winsup/cygserver/cygserver-config index 373bfd24d..abda18644 100755 --- a/winsup/cygserver/cygserver-config +++ b/winsup/cygserver/cygserver-config @@ -89,7 +89,7 @@ _sys="`uname`" _nt=`expr "${_sys}" : "CYGWIN_NT"` # Check for running cygserver processes first. -if ps -ef | grep -v grep | grep -q ${service_name} +if ps -e | grep -v grep | grep -q ${service_name} then echo echo "There is a cygserver (${service_name}) already running. Nothing to do, apparently."