freebsd-skq/bin/ps
sobomax 8e683e45ef 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 Install sys/security/lomac/*.h to /usr/include/security/lomac/. 2002-03-26 16:05:14 +00:00
lomac.h NAI DBA update. 2002-03-14 21:51:00 +00:00
Makefile Remove tunables to hide warnings that no longer exist. 2002-06-07 00:01:00 +00:00
nlist.c sysctlbyname(3) returns -1 on failure, not any other value < 0. 2002-06-06 20:59:15 +00:00
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 WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extra 2002-02-03 14:43:04 +00:00