In our previous episode, Peter said:
> >
> Thanks for that. So is it a bug then? Why is 64-bit not using ftruncate64?
I'm no linux expert, but I assume because it is only for 32-bit. On 64-bit,
off_t already is 64-bit, so the posix template matches 1:1, and there is no
need for another function.
On 20/05/15 16:36, Marco van de Voort wrote:
> In our previous episode, Peter said:
>
>> It should work if Truncate64 is used instead of Truncate.
>> I suggest its a bug, albeit probably a wishlist one.
>>
>> http://man7.org/linux/man-pages/man2/ftruncate.2.html
> ftruncate64 is already used for 32
In our previous episode, Peter said:
> It should work if Truncate64 is used instead of Truncate.
> I suggest its a bug, albeit probably a wishlist one.
>
> http://man7.org/linux/man-pages/man2/ftruncate.2.html
ftruncate64 is already used for 32-bit CPUs, ftruncate for 64-bit cpus
You can get in
On 18/05/15 08:30, Michael Van Canneyt wrote:
>
>
> On Sun, 17 May 2015, Géza Kovacs Géza wrote:
>
>> Truncate procedure unable to work under Linux, is this a bug?
>> This code is unable to work under linux: the Truncate drops an error
>> message if the file is larger than 2 or 3 GB.
>> I tested it
On Wed, 20 May 2015, waldo kitty wrote:
On 05/20/2015 07:11 AM, Michael Van Canneyt wrote:
On Tue, 19 May 2015, Serguei TARASSOV wrote:
Hello,
Is it normal that TFPHashList cannot find an item by name if the pointer
is nil?
However, the item is stored in the list.
FPC 2.6.4, both Wind
On 05/20/2015 07:11 AM, Michael Van Canneyt wrote:
On Tue, 19 May 2015, Serguei TARASSOV wrote:
Hello,
Is it normal that TFPHashList cannot find an item by name if the pointer is nil?
However, the item is stored in the list.
FPC 2.6.4, both Windows and Linux versions.
program project1;
us
On Tue, 19 May 2015, Serguei TARASSOV wrote:
Hello,
Is it normal that TFPHashList cannot find an item by name if the pointer is
nil?
However, the item is stored in the list.
FPC 2.6.4, both Windows and Linux versions.
program project1;
uses
Contnrs;
var
List: TFPHashList;
begin
List