On Mon, 30 Jun 2003, Dmitry Semyonov wrote: > > In 4.6.0a if I enter the "Raw mode" then press F10, then F3 again > > filename changes into "archive-2002.gz", but it changes back into > > "archive-2002.gz#ugz" if I press F8 to enter "Parse mode" again... > > > > Does anybody have similar problems? > > I have exactly the same problem, at least with gz files.
I'm terribly sorry. I think what I was testing wasn't the latest version. I can reproduce the problem now. The "type" entries in mc.ext were not matched correctly. The problem was introduced by a recent patch from Andrew Samoilov. I'm sorry that I didn't test that patch sufficiently. Patch: =========================================== --- ChangeLog +++ ChangeLog @@ -1 +1,6 @@ +2003-07-02 Pavel Roskin <[EMAIL PROTECTED]> + + * ext.c (regex_check_type): Set content_shift to skip the + filename. + 2003-06-27 David Sterba <[EMAIL PROTECTED]> --- ext.c +++ ext.c @@ -419,6 +419,7 @@ regex_check_type (char *filename, int fi if (islocal) { if (!strncmp (content_string, filename, file_len)) { /* Skip "filename: " */ + content_shift = file_len; if (content_string[content_shift] == ':') { content_shift++; /* Solaris' file prints tab(s) after ':' */ =========================================== -- Regards, Pavel Roskin _______________________________________________ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel