Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2002 10:36:03 +0100
From:      Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>
To:        Peter Wemm <peter@wemm.org>
Cc:        alpha@freebsd.org
Subject:   Re: ps(1) output Q
Message-ID:  <20020201103603.A14562@i2.informatik.rwth-aachen.de>
In-Reply-To: <20020201001626.3AB243809@overcee.wemm.org>
References:  <20020131103128.GA6082@cicely8.cicely.de> <20020201001626.3AB243809@overcee.wemm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd-alpha, you wrote:
> Care to double check this patch?

> @@ -670,7 +670,7 @@
>         int oid[4];
>         int i;
>         size_t bufsz;
> -       static int buflen;
> +       static unsigned long buflen;
>         static char *buf, *p;
>         static char **bufp;
>         static int argc;
> 
> It seems to fix it for me, but a double check from somebody else would be
> handy in case it depends on something else that I've forgotten about.

Looks okay:
bash# ./ps
  PID  TT  STAT      TIME COMMAND
19442  p0  I      0:00.84 _su (csh)
19447  p0  S      0:00.78 bash
19721  p0  R+     0:00.00 ./ps
  144  d0  IWs+   0:00.00 /usr/libexec/getty std.9600 ttyd0
bash# umount /proc
bash# ps
  PID  TT  STAT      TIME COMMAND
19442  p0  I      0:00.84  (csh)
19447  p0  S      0:00.88  (bash)
19727  p0  R+     0:00.00  (ps)
  144  d0  IWs+   0:00.00  (getty)
bash# ./ps
  PID  TT  STAT      TIME COMMAND
19442  p0  I      0:00.84 _su (csh)
19447  p0  S      0:00.72 bash
19718  p0  R+     0:00.03 ./ps
  144  d0  IWs+   0:00.00 /usr/libexec/getty std.9600 ttyd0

-- 
Wonderful \hbox (0.80312pt too nice) in paragraph at lines 16--18
Volker Stolz * stolz@i2.informatik.rwth-aachen.de
Please use PGP or S/MIME for correspondence!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020201103603.A14562>