Description of problem: ftruncate64 broken in IA32 emulation layer Version-Release number of selected component (if applicable): 2.4.21-9.0.1.EL How reproducible: Always Steps to Reproduce: $ gcc -m32 ftruncate64.c $ ./a.out Actual results: "size was 0 not 8589934592" Expected results: no output Additional info: 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. http://rhn.redhat.com/errata/RHBA-2004-433.html