Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-02-17 14:16:23 +0300
committerCorinna Vinschen <corinna@vinschen.de>2006-02-17 14:16:23 +0300
commit32410d21752cbfd1afa958682c7b337136160106 (patch)
treee22f4e1d703d48ac5e3a0c7d005921f62a12a411
parent49103e2ba47c8686c2c4e370bb7bcaf7599b4321 (diff)
* ps.cc (main): Set aflag if -p option is given.
-rw-r--r--winsup/utils/ChangeLog4
-rw-r--r--winsup/utils/ps.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 10fe823ea..17dc14f36 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-17 Jerry D. Hedden <jerry@hedden.us>
+
+ * ps.cc (main): Set aflag if -p option is given.
+
2006-02-16 Jerry D. Hedden <jerry@hedden.us>
* ps.cc (longopts): Add --process option.
diff --git a/winsup/utils/ps.cc b/winsup/utils/ps.cc
index 27203d0c7..651175144 100644
--- a/winsup/utils/ps.cc
+++ b/winsup/utils/ps.cc
@@ -286,6 +286,7 @@ main (int argc, char *argv[])
break;
case 'p':
proc_id = atoi (optarg);
+ aflag = 1;
break;
case 's':
sflag = 1;