git: ps - Handle unexpected output order when sorting by memory or cpu

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 5 14:45:28 PST 2011


commit 7c75e4b97eedf419709b08e4d037ee1526bffe45
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 5 14:44:22 2011 -0800

    ps - Handle unexpected output order when sorting by memory or cpu
    
    * When sorting by memory or cpu, including when using 'u' as in 'ps aux',
      if the primary sort critera is an exact match fall back to the default
      sort critera (tty and then pid).
    
    Reported-by: swildner

Summary of changes:
 bin/ps/ps.c |   24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7c75e4b97eedf419709b08e4d037ee1526bffe45


-- 
DragonFly BSD source repository





More information about the Commits mailing list