about summary refs log tree commit diff
path: root/misc/getloadavg.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-20 07:29:15 -0400
committerMike Frysinger <vapier@gentoo.org>2015-07-20 21:59:58 -0400
commitd679497db20c23e3aaaa150821ce9134cc666a18 (patch)
treecb419a38bfacfc6a3efa1b809b12b1f36d68efa6 /misc/getloadavg.c
parent01b07c70ad77ef28b6a3661ed3142ebff35b6e69 (diff)
downloadglibc-d679497db20c23e3aaaa150821ce9134cc666a18.tar.gz
glibc-d679497db20c23e3aaaa150821ce9134cc666a18.tar.xz
glibc-d679497db20c23e3aaaa150821ce9134cc666a18.zip
sparc: fix sigaction for 32bit builds [BZ #18694]
Commit a059d359d86130b5fa74e04a978c8523a0293f77 changed the sigaction
struct to pass conform tests, but it ended up also changing the ABI for
32 bit builds.  For 64 bit builds, changing the long to two ints works,
but for 32 bit builds, it inserts 4 extra bytes.  This leads to many
packages randomly failing like bash that spews things like:
	configure: line 471: wait_for: No record of process 0

Bracket the new member by a wordsize check to fix the ABI for 32bit.

(cherry picked from commit 7fde904c73c57faea48c9679bbdc0932d81b3a2f)
Diffstat (limited to 'misc/getloadavg.c')
0 files changed, 0 insertions, 0 deletions