]> granicus.if.org Git - strace/commit
Macroize conditional signed widening operation
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 15 Feb 2013 13:58:52 +0000 (14:58 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 15 Feb 2013 13:58:52 +0000 (14:58 +0100)
commite015d2d331c75b912e3dd96532e2c31ae0e06554
tree05e352a8b05cc718af2e57bbe9a3ac0a974a9bb6
parentae8643e671db5c574ecba6aa7fe9012f286dc257
Macroize conditional signed widening operation

* defs.h: Define widen_to_long() macro.
* signal.c (sys_kill): Use it instead of open-coding it.
(sys_tgkill): Use widen_to_long() on pids.
* resource.c (decode_rlimit): Formatting fix.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
defs.h
resource.c
signal.c