OSDN Git Service

libc/sysdeps: Fix common-generic stat.h for BE part 2
authorMischa Jonker <Mischa.Jonker@synopsys.com>
Tue, 23 Jul 2013 16:32:07 +0000 (18:32 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 26 Jul 2013 07:45:34 +0000 (09:45 +0200)
commitcee1028b642c0e6e3ff314dea71c9fb0015c22c1
tree39a13eac609f3b6f288d9dc567e509c2364109c5
parent7e509aae23665b9a79f6c9b4c24d1d8a55bd3582
libc/sysdeps: Fix common-generic stat.h for BE part 2

Previous patch only fixed the build. This patch fixes the behavior at
run-time as well.

It fixes "Value too large for defined data type" messages caused by
fstat syscall wrapper returning -EOVERFLOW.

Signed-off-by: Mischa Jonker <Mischa.Jonker@synopsys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common-generic/bits/stat.h