Bug 912635

Summary: indent does not support 64-bit file systems
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: indentAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://lists.gnu.org/archive/html/bug-indent/2013-02/threads.html
Whiteboard:
Fixed In Version: indent-2.2.11-9.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-19 15:03:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Allow 64-bit stat none

Description Petr Pisar 2013-02-19 09:16:49 UTC
src/code_io.c:read_file() calls fstat(2) and copies stat.st_size into unsigned long variable.

To support 64-bit file sizes or i-node numbers, one have to compile with -D_FILE_OFFSET_BITS=64 and fix data types to use off_t or size_t.

Comment 1 Petr Pisar 2013-02-19 14:07:02 UTC
Created attachment 699461 [details]
Allow 64-bit stat