[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH] devmem: support more than 4GB of physical memory on 32 bit systems
From: Laurent Bercot <ska-dietlibc () skarnet ! org>
Date: 2016-06-30 13:07:04
Message-ID: e1240f67-6e35-88f2-4413-994780eb4f67 () skarnet ! org
[Download RAW message or body]
On 30/06/2016 13:24, Robert Schiele wrote:
> - off_t target;
> + off64_t target;
http://stackoverflow.com/a/3221920
If you need 64-bit types, compile your programs with -D_FILE_OFFSET_BITS=64,
which should be the default on reasonable systems (not sure how common
reasonable systems are nowadays though).
Please don't use the foobar64_t types, which are a very ugly piece of
glibc bugware and make the code actually incorrect on 32-bit machines.
--
Laurent
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic