Thread (5 messages) flat view 5 messages, 3 authors, 2018-08-10

RE: [PATCH 1/1] selftest/net: fix FILE_SIZE for 32 bit architecture.

From: Maninder Singh <hidden>
Date: 2018-08-10 08:10:18
Also in: lkml, netdev

quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help