delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/05/05:35:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20011005093509.63092.qmail@web11507.mail.yahoo.com>
Date: Fri, 5 Oct 2001 02:35:09 -0700 (PDT)
From: Robert Legros <robert_legros AT yahoo DOT com>
Subject: Re: 1.3.3-2: ps.exe bug for processes with a zero ppid
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

--- 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019