]> granicus.if.org Git - strace/commit
Enhance sysinfo decoding
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 29 Sep 2014 23:29:56 +0000 (23:29 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 29 Sep 2014 23:29:56 +0000 (23:29 +0000)
commit82a528d96fc49338441e93d1b04d51d6585f114f
tree218d5bad28f69e7f28b2ca4708f8ee32cec07be8
parent57d45a2b3a3f8f56911563568d555176579734a7
Enhance sysinfo decoding

* configure.ac (AC_CHECK_MEMBERS): Check for struct sysinfo.totalhigh,
struct sysinfo.freehigh, and struct sysinfo.mem_unit.
* sysinfo.c (sys_sysinfo): Treat failed umove() call as syserror().
Print totalhigh, freehigh, and mem_unit members when struct sysinfo
supports them.
configure.ac
sysinfo.c