aboutsummaryrefslogtreecommitdiff
path: root/procps/pidof.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-29mdev: fix a bug where it was not stopping on first matching ruleDenis Vlasenko2-112/+115
(testsuite entry added). Revamped line parsing while at it. function old new delta next_field - 36 +36 make_device 1104 1022 -82 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/1 up/down: 36/-82) Total: -46 bytes
2008-03-29ftpgetput: move control_stream to "struct globals";Denis Vlasenko1-110/+85
unify common data pumpung stage for upload and download; other small shrinkage. EPSV still not implemented... function old new delta pump_data_and_QUIT - 82 +82 xconnect_ftpdata 127 156 +29 ftpcmd 301 304 +3 ftp_die 59 55 -4 ftpgetput_main 352 344 -8 ftp_send 185 91 -94 ftp_receive 394 293 -101 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/4 up/down: 114/-207) Total: -93 bytes
2008-03-29ftpgetput: deal with long-standing TODOs:Denis Vlasenko1-114/+82
- do not use ALLO on upload - move globals to "struct globals" - move buf[] there too - remove commented out "filesize" code - other shrinkage function old new delta xconnect_ftpdata 117 127 +10 ftp_die 49 59 +10 ftpcmd 292 301 +9 verbose_flag 1 - -1 do_continue 1 - -1 ftpgetput_main 405 352 -53 ftp_receive 451 394 -57 ftp_send 325 185 -140 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 3/3 up/down: 29/-252) Total: -223 bytes
2008-03-28ftpgetput: add comment about EPSV (extended PASV).Denis Vlasenko1-39/+65
Fix bug where we were using lstat instead of stat. Added many TODOs.
2008-03-28copy_file: handle "cp /dev/foo file" (almost) compatibly to coreutils.Denis Vlasenko6-26/+63
(almost because we do not copy mode, which is probably wasn't intended). +61 bytes.
2008-03-28fbsplash: move to /sbin; small shrinkDenis Vlasenko2-28/+27
function old new delta fb_drawprogressbar 413 423 +10 fbsplash_main 1146 1121 -25
2008-03-28fix a few stray unguarded strdup'sDenis Vlasenko4-144/+137
2008-03-28whitespace fixesDenis Vlasenko7-46/+42
2008-03-27mdev: plug a few memory and fd leaks; simplify code a bitDenis Vlasenko3-74/+73