# ps -ef --forest root 28465 1 0 Apr19 ? 00:00:01 /sys/inet/ssh/sbin/sshd root 1271 28465 0 Apr30 ? 00:00:00 \_ sshd: ajs [priv] d ajs 1273 1271 0 Apr30 ? 00:00:01 | \_ sshd: ajs@pts/1 d Note the trailing 'd' on processes 1271 and 1273. A trivial 'bug', I know...
I can't reproduce on my RH9 box. What kind on Linux system (distribution, kernel, glibc)? Does it have setproctitile (check for HAVE_SETPROCTITLE in config.h).
Slackware (happens on both 8.1 and 9.1); linux kernel is 2.4.26; glibc is 2.2.5 on the slackware-8.1 systems and 2.3.2 on the slackware 9.1 systems. HAVE_SETPROCTITLE is not defined on either distribution.
Seems to be fixed in 3.9p1.
That's great, but as far as I can tell there's been no changes that might have affected it, and I was unable to reproduce it here. Is it possible it was something specific to your system?