Red Hat Bugzilla – Bug 119537
ftruncate64 is broken in IA32 emulation layer
Last modified: 2013-08-05 21:04:56 EDT
Description of problem:
ftruncate64 broken in IA32 emulation layer
Version-Release number of selected component (if applicable):
Steps to Reproduce:
$ gcc -m32 ftruncate64.c
"size was 0 not 8589934592"
Same results if binary is built on a real IA-32 box.
Created attachment 98990 [details]
test case for ftruncate64
Patch submitted, will likely go into U3.
A fix for this problem has just been committed to the RHEL3 U3
patch pool (in kernel version 2.4.21-15.2.EL).
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.