Subject: bin/13551: bin/ps duplicate code pasto?
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sparkles@primenet.com.au>
List: netbsd-bugs
Date: 07/25/2001 15:19:08
>Number: 13551
>Category: bin
>Synopsis: small duplicate code pasto(?) in ps.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 24 22:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Geoff C. Wing
>Release: 20010724
>Organization:
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff : <gcw@zsh.org>
>Environment:
System: NetBSD c.primenet.com.au 1.5W NetBSD 1.5W (C) #0: Wed Jul 18 15:23:30 EST 2001 root@c.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/C i386
Architecture: i386
Machine: i386
>Description:
See subject and patch below
>How-To-Repeat:
inspect
>Fix:
--- bin/ps/ps.c.orig Mon Jul 23 12:27:34 2001
+++ bin/ps/ps.c Wed Jul 25 15:17:05 2001
@@ -486,8 +486,6 @@
if (i == 0)
i = ka->p_pid - kb->p_pid;
- if (i == 0)
- i = ka->p_pid - kb->p_pid;
return (i);
}
>Release-Note:
>Audit-Trail:
>Unformatted: