Denis Vlasenko
|
d50dda8c35
*: use llist_pop for traverse-and-free list operation
|
16 vuotta sitten |
Denis Vlasenko
|
54b90b5988
fix another -Wall warning
|
16 vuotta sitten |
Denis Vlasenko
|
6b06cb80be
more of -Wall fixes from Cristian Ionescu-Idbohrn.
|
16 vuotta sitten |
Denis Vlasenko
|
85c247161b
*: fix fallout from -Wunused-parameter
|
16 vuotta sitten |
Denis Vlasenko
|
68404f13d4
*: add -Wunused-parameter; fix resulting breakage
|
16 vuotta sitten |
Denis Vlasenko
|
c85bfcad52
ps: fixlet to disabled compat code
|
17 vuotta sitten |
Denis Vlasenko
|
5de754a395
ps: add (disabled) compat code
|
17 vuotta sitten |
Denis Vlasenko
|
9b4c072a04
ps: fix yet another buglet from recent ulltoa conversion :(
|
17 vuotta sitten |
Denis Vlasenko
|
766f65919b
ps: fix COMMAND column adjustment
|
17 vuotta sitten |
Denis Vlasenko
|
6b404431aa
ps: fix build breakage from vda's recent commit
|
17 vuotta sitten |
Denis Vlasenko
|
56ea65ca5f
ps: fix overflow in USER and VSZ columns
|
17 vuotta sitten |
Denis Vlasenko
|
5fee2e1a79
ps: add conditional support for -o [e]time
|
17 vuotta sitten |
Denis Vlasenko
|
9b49a5ed85
add -fvisibility=hidden to CC flags, mark XXX_main functions
|
17 vuotta sitten |
Denis Vlasenko
|
fc1e9951c6
vsz and rss are unsigned longs (ulong ~= width of void* =>
|
17 vuotta sitten |
Denis Vlasenko
|
fe7cd642b0
don't pass argc in getopt32, it's superfluous
|
17 vuotta sitten |
Denis Vlasenko
|
f893da875a
ls,ps,watch: measure terminal width on fd 0, not 1
|
17 vuotta sitten |
Denis Vlasenko
|
7ce7594fa3
ps: fix non-desktop ps -ww -- thanks rockeychu
|
17 vuotta sitten |
Denis Vlasenko
|
aba7f49a22
ps: revert wrong "optimization": (i & 1) -> i
|
17 vuotta sitten |
Denis Vlasenko
|
dc7a5eae36
ps: fix "unused variable" warning; fix integer variable declared as char.
|
17 vuotta sitten |
Denis Vlasenko
|
98ebab8b76
top,ps: improve /proc/PID/cmdinfo reading code
|
17 vuotta sitten |
Denis Vlasenko
|
80b8b39899
Consolidate ARRAY_SIZE macro; remove one unneeded global var (walter harms <wharms@bfs.de>)
|
17 vuotta sitten |
Denis Vlasenko
|
31789a81d5
top,ps: 'stringify' tty only when needed. -60 bytes.
|
17 vuotta sitten |
Denis Vlasenko
|
0696b8aae8
ps: fix -Z (by Yuichi Nakamura <ynakam@hitachisoft.jp>)
|
17 vuotta sitten |
Denis Vlasenko
|
b6adbf1be2
usage.c: remove reference to busybox.h
|
17 vuotta sitten |
Denis Vlasenko
|
dcf4de20a1
test: code size saving, no logic changes
|
17 vuotta sitten |
Denis Vlasenko
|
8581863a1b
procps: remove all global variables
|
17 vuotta sitten |
Denis Vlasenko
|
516a0ca2dc
ps: add -o tty and -o rss support
|
17 vuotta sitten |
Denis Vlasenko
|
8d9f495d68
getopt32: fix llist_t options ordering. llist_rev is not unused.
|
17 vuotta sitten |
Denis Vlasenko
|
450196c119
ps: work around libc bug: printf("%.*s\n", MAX_INT, buffer)
|
17 vuotta sitten |
Bernhard Reutner-Fischer
|
26a8016da6
- change option -c to -Z to match newer upstream SElinux conventions
|
17 vuotta sitten |