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