Messages in this thread Patch in this message | | | Date | Wed, 20 Mar 1996 12:31:28 -0500 (EST) | From | "William E. Roadcap" <> | Subject | patch for ps -t segfault |
| |
For all those who responded saying "me too." to the question about ps -t (from procps-0.99a) causing a segfault. Thanks.
Here is a patch that seems to fix this on my system.
--- ps.c.orig Wed Mar 20 12:24:11 1996 +++ ps.c Wed Mar 20 12:21:15 1996 @@ -244,7 +244,7 @@ fprintf(stderr, "the name `%s' is not a tty\n", CL_ctty); exit(1); } - pflags = (pflags | PROC_TTY) & ~PROC_ANYTTY; + pflags = (pflags | PROC_TTY) & ~PROC_ANYTTY & ~PROC_UID; args = tty; } show_procs(cmdspc, do_header, pflags, args, N); ___ William E. Roadcap mailto://roadcapw@cfw.com TITUS Software ftp://titus.cfw.com/pub Waynesboro, Va (USA) http://www.cfw.com/~roadcapw
| |