Mail Archives: cygwin/2001/10/05/05:35:27
--- Robert Legros <robert_legros AT yahoo DOT com> wrote:
> Hello,
>
> There is a follow up to the bug "1.3.3-2: Process
> creation is possible with ppid = 0 and pgid = 0"
> <http://cygwin.com/ml/cygwin/2001-10/msg00109.html>.
>
> 'ps.exe' does not behave correctly with such
> processes. This is due to the fact that in the code,
> there is a criteria to see if a process is a Cygwin
> one or a Windows one. And that criteria is precisely
> (p-ppid != 0) !.
>
> I have written a patch for 'ps.exe'. It is more a
> hack
> than a real bug correction, but it works. In fact
> the
> real bug correction must be done somewhere in the
> process creation routines inside 'cygwin1.dll'. This
> patch is to be found in attachment.
>
> For those who should like to install this
> correction,
> here is how to do it. In attachment is the corrected
> version of 'ps.cc'. Do compile it using the
> following
> command :
> gcc -O2 -s ps.cc -o ps.exe
> And then install it :
> cp -p ps.exe /bin
>
> Best Regards,
>
>
> =====
> Robert Legros
> south Brussels, Belgium
> robert_legros AT yahoo DOT com
>
I tested the snapshot 'cygwin1-20011005.dll' and ...
it works !
Dear Christopher Faylor, I would like to thank you for
work and for your prompt support !
Best Regards,
=====
Robert Legros
south Brussels, Belgium
robert_legros AT yahoo DOT com
__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -