freebsd-src/bin/ps
Maxim Sobolev 41623b2d75 Don't try to decode old-style options if the argv[1] begins with `-' and the
second character represents some option taking an argument. This fixes
problem when ps(1) is invoked for examply as follows:

$ ps -Ufoobar1234

the above example results in option string being interpreted as
-U foobarp1234 - note extra `p'.

Reported by:	Vladimir Sotnikov <vovan@kyivstar.net>
MFC after:	2 weeks
2002-06-20 14:55:53 +00:00
..
extern.h Fixed unsorting. 2002-06-08 06:49:15 +00:00
fmt.c Back out previous back out of previously correct code. 2002-06-07 01:14:05 +00:00
keyword.c Allow whitespace to act as a delimiter in the keywords list given to the -o, 2002-06-08 18:11:52 +00:00
lomac.c
lomac.h
Makefile Remove tunables to hide warnings that no longer exist. 2002-06-07 00:01:00 +00:00
nlist.c
print.c Cast to long to match format. Hidden by revision 1.18 of Makefile. 2002-06-07 00:00:29 +00:00
ps.1 ps(1) appeared in v4 2002-06-10 22:48:51 +00:00
ps.c Don't try to decode old-style options if the argv[1] begins with `-' and the 2002-06-20 14:55:53 +00:00
ps.h