Re: [patch] allow seeking in linear files



On Sat, 28 Jan 2006, Jindrich Makovicka wrote:

> 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.

I've restored the old behaviour.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]