Re: TODO: Large tgzs, how and what?



Hi Andrew,

On Mon, 2004-09-20 at 13:54, Andrew V. Samoilov wrote:
> This is a different issue.  You can edit plain files but your changes will be lost.
> Testcase is simple
> 1. Set EDITOR environment variable to your favorite editor.
> 2. Start mc
> 3. F9/Configuration... and unset "use internal edIt".
> 4. Edit any file plain text file via ftpfs/smbfs and save your changes.
> 5. Close editor and try to find your changes.

Would adding
    /* Has the cached archive been changed on the disk? */
    if (parc->u.arch.st.st_mtime < archive_stat->st_mtime) {
	/* Yes, reload! */
	(*vfs_tarfs_ops.free) ((vfsid) parc);
	vfs_rmstamp (&vfs_tarfs_ops, (vfsid) parc);
	return 2;
    }
to ftpfs_archive_same (s/parc/super/g and s/vfs_tar/vfs_ftp/g, example
taken from tar_archive_same) fix this? Or do you expect more to be
required?

> > > 2. #228934: #utar archive content viewer missing files 
> > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228934&repeatmerged=no &&

> I preffer 4.6.1 because this issue was introduced in 4.6.0.

Not entirely correct. This was introduced *after* 4.6.0. There are a few
_undocumented_ changes introduced to tar.c after 4.6.0 was released. But
as this is a recent regression I guess I agree this should be fixed for
4.6.1.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





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