Re: [patch] allow seeking in linear files
- From: Pavel Tsekov <ptsekov gmx net>
- To: Jindrich Makovicka <makovick kmlinux fjfi cvut cz>
- Cc: mc-devel gnome org
- Subject: Re: [patch] allow seeking in linear files
- Date: Sat, 28 Jan 2006 16:19:05 +0200
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.
Breaks what ? Even the old code returned error if there is no linear
start and linear transfer is requested... Can you give an example of the
breakage you see ?
] [Thread Prev