17 lines
524 B
Diff
17 lines
524 B
Diff
Author: Craig Small <csmall@debian.org>
|
|
Description: pgrep.c saved_start_time was missed
|
|
Index: b/pgrep.c
|
|
===================================================================
|
|
--- a/pgrep.c 2009-11-24 20:53:03.000000000 +1100
|
|
+++ b/pgrep.c 2009-11-24 21:00:41.000000000 +1100
|
|
@@ -430,7 +430,8 @@
|
|
preg = do_regcomp();
|
|
|
|
if (opt_newest) saved_start_time = 0ULL;
|
|
- if (opt_oldest) saved_start_time = ~0ULL;
|
|
+ else
|
|
+ saved_start_time = ~0ULL;
|
|
if (opt_newest) saved_pid = 0;
|
|
if (opt_oldest) saved_pid = INT_MAX;
|
|
|