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

ASSI via Cygwin-apps <[email protected]>
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.