procps-ng may need rerelease for larger wider 4M pids

ASSI Stromeko@nexgo.de
Sun Jun 15 17:16:48 GMT 2025


Brian Inglis via Cygwin-apps writes:
> I notice procps-ng ps aligns 5 digit or smaller pids and 6 digit pids
> differently, possibly related to Cygwin 3.6 CW_MAX_CYGWIN_PID increase
> to 4M:
>
> #include <sys/cygwin.h>
>
>     pid_t mp = cygwin_internal (CW_MAX_CYGWIN_PID, &mp);
>
> so procps-ng may need a rerelease to account for that?

The default field width for PID is 5 in porocps and
/proc/sys/kernel/pid_max (where it expects to find this information if
differnt from the default) doesn't exist on Cygwin.

Since there is no configury for this value, I've monkey-patched it out
of the sources for now.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


More information about the Cygwin-apps mailing list