BUG: viewing compressed files

Pavel Roskin proski at gnu.org
Wed Jul 9 00:22:17 UTC 2003


On Mon, 30 Jun 2003, Adam Byrtek / alpha wrote:

> On Sun, Jun 29, 2003 at 07:08:15PM -0400, Pavel Roskin wrote:
> > > I can add, that F4 on gzipped file opens it correctly, but leaves broken
> > > symlink after closing the editor. This happens in mc-4.6.0-2003-06-25-17
> > > but not in 4.6.0 version.
> >
> > It's a write lock.  It needs to be fixed.  Adam, it's your code.
>
> Shame on me I didn't notice that filtered edit uses edit_insert_file
> to init its buffer :( Simple fix attached with additional routine to
> remove stale lock during editor cleanup...

I've applied a different patch that doesn't lock the file while it's being
loaded.  The cleanup part has been applied.  Thank you!

-- 
Regards,
Pavel Roskin



More information about the mc-devel mailing list