[patch] allow seeking in linear files
Jindrich Makovicka
makovick at kmlinux.fjfi.cvut.cz
Sat Jan 28 14:09:47 UTC 2006
Pavel Tsekov wrote:
> On Fri, 20 Jan 2006, Jindrich Makovicka wrote:
>
>
>>this patch adds an ability to seek in linear files before the first read
>>operation. It is achieved by postponing the actual opening to
>>linear_read() call. The main reason of this is to make ftpfs' reget
>>function work again.
>>
>>Modification for fish to work with this change, and a minor fix of the
>>ftpfs copy status display is included.
>
>
> I've commited your patch with minor changes. Next time, please, provide
> a changelog.
>
> Thanks!
Sorry, but I just found that one of your changes breaks linear open on
random access files. Now, eg. the content of tar files is unaccessible.
The attached patch should fix it.
Regards,
--
Jindrich Makovicka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: direntry.c.diff
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20060128/5cd2bfa9/attachment.diff>
More information about the mc-devel
mailing list