Bug 4201 - ftok(3) doesn't support large files
Summary: ftok(3) doesn't support large files
Status: RESOLVED FIXED
Alias: None
Product: uClibc
Classification: Unclassified
Component: Standard Compliance (show other bugs)
Version: 0.9.32
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 22:45 UTC by Jared McNeill
Modified: 2012-04-17 20:07 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Test case (724 bytes, text/plain)
2011-09-16 22:45 UTC, Jared McNeill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jared McNeill 2011-09-16 22:45:42 UTC
Created attachment 3589 [details]
Test case

The ftok(3) implementation calls stat(2), but doesn't know if 64-bit file offsets have been requested so always uses the 32-bit version.
Comment 1 Bernhard Reutner-Fischer 2012-04-17 20:07:30 UTC
Fixed in a2cc7378449b37ecc56d6f24ad54a00aada8cfb9
Thanks!