Modify

Ticket #215 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[PATCH] Large file issues

Reported by: kyle@… Owned by: dbalmain
Priority: critical Milestone:
Component: component1 Version:
Keywords: Cc:

Description

I am getting a few errors when dealing with indexes larger than 231 bytes. Ferret supports LFS, but there are a few places where an int is still used to denote a file offset, rather than the appropriate off_t. This patch changes the ints to off_t's, and adds a unit test dealing with LFS.

Attachments

ferret64.patch Download (4.3 KB) - added by kyle@… 3 years ago.
Patch for LFS issues

Change History

Changed 3 years ago by kyle@…

Patch for LFS issues

comment:1 Changed 3 years ago by dbalmain

  • Status changed from assigned to closed
  • Resolution set to fixed

Awesome. Great patch. I have (finally) applied it.

I made one small change. I only run the largefile test when the environment variable FERRET_DEV is set as I want to keep the tests running at a reasonable speed on other peoples systems.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.