lkml.org 
[lkml]   [2018]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH 1/1] selftest/net: fix FILE_SIZE for 32 bit architecture.
From
Date
>> >
>> >What about using more conventional size_t instead of "unsigned long long" ?
>>
>> size_t is also equivalent to unsigned long and it will not hold value of (1 << 35) for 32 bit system.
>> So we can do two things.
>
>Wouldn't the 'correct' type be off_t ?
>In any case, IIRC, you have to do really horrid things in Linux to
>access files larger than 2G on 32bit systems.
>
> David

Any inputs.

Thanks,
Maninder Singh

\
 
 \ /
  Last update: 2018-08-10 10:10    [W:0.058 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site