mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
This should fix Torbens problem with segfaults when copying or moving files.
Fri Apr 10 10:35:06 1998 Norbert Warmuth <k3190@fh-sw.de> * file.c (file_mask_dialog): When the shell patterns option was off source_mask was freed twice.
This commit is contained in:
parent
1cbec6884f
commit
64c711b304
@ -1,3 +1,8 @@
|
||||
Fri Apr 10 10:35:06 1998 Norbert Warmuth <k3190@fh-sw.de>
|
||||
|
||||
* file.c (file_mask_dialog): When the shell patterns option was
|
||||
off source_mask was freed twice.
|
||||
|
||||
1998-04-10 Marc Ewing <marc@redhat.com>
|
||||
|
||||
* panel.h: added up_b
|
||||
|
@ -2021,10 +2021,11 @@ ask_file_mask:
|
||||
easy_patterns = 1;
|
||||
source_mask = convert_pattern (source_mask, match_file, 1);
|
||||
source_easy_patterns = easy_patterns;
|
||||
}
|
||||
error = re_compile_pattern (source_mask, strlen (source_mask), &rx);
|
||||
free (source_mask);
|
||||
} else
|
||||
error = re_compile_pattern (source_mask, strlen (source_mask), &rx);
|
||||
|
||||
error = re_compile_pattern (source_mask, strlen (source_mask), &rx);
|
||||
free (source_mask);
|
||||
if (error) {
|
||||
message_3s (1, MSG_ERROR, _("Invalid source pattern `%s' \n %s "),
|
||||
orig_mask, error);
|
||||
|
Loading…
Reference in New Issue
Block a user