> -------- Original Message --------
> Subject: Re: [PATCH] Add -p option to ps command
> From: Corinna Vinschen <[EMAIL PROTECTED]>
> Date: Thu, February 16, 2006 10:09 am
> To: [email protected]
> 
> On Feb 16 07:58, Jerry D. Hedden wrote:
> > Thanks.  I realized one minor oversight.  Using -p should imply -a so
> > that even if the PID is not owned by the current user, it will still
> > get listed.  I've attached a patch for this (just a one line addition)
> > that builds on top of the previous patch (i.e., apply it against
> > version 1.20 of ps.cc).  Thanks again.
> 
> > Index: src/winsup/utils/ps.cc
> > ===================================================================
> > --- ps.cc  1.20
> > +++ ps.cc
> > @@ -286,6 +286,7 @@
> >     break;
> >        case 'p':
> >     proc_id = atoi (optarg);
> > +   aflag = 1;
> >     break;
> >        case 's':
> >     sflag = 1;
> 
> What about the ChangeLog entry?  http://cygwin.com/contrib.html

I'll get this right one of these days.  Thanks for your patience.

Changelog entry:

2006-02-16  Jerry D. Hedden  <[EMAIL PROTECTED]>

        * ps.cc (main): -p implies -a



Reply via email to