diff --git a/mc-mcviewsegfault.patch b/mc-mcviewsegfault.patch index a7c00da..2550988 100644 --- a/mc-mcviewsegfault.patch +++ b/mc-mcviewsegfault.patch @@ -1,7 +1,7 @@ -diff -up mc-4.7.2.99/src/editor/editwidget.c.mcviewsegfault mc-4.7.2.99/src/editor/editwidget.c ---- mc-4.7.2.99/src/editor/editwidget.c.mcviewsegfault 2010-06-08 13:23:03.000000000 +0200 -+++ mc-4.7.2.99/src/editor/editwidget.c 2010-06-08 13:28:14.960729778 +0200 -@@ -286,7 +286,7 @@ edit_file (const char *_file, int line) +diff -up mc-4.7.5-pre1/src/editor/editwidget.c.mcviewsegfault mc-4.7.5-pre1/src/editor/editwidget.c +--- mc-4.7.5-pre1/src/editor/editwidget.c.mcviewsegfault 2010-12-03 09:53:38.000000000 +0100 ++++ mc-4.7.5-pre1/src/editor/editwidget.c 2010-12-08 12:33:35.943724419 +0100 +@@ -387,7 +387,7 @@ edit_file (const char *_file, int line) const char * edit_get_file_name (const WEdit * edit) { @@ -9,4 +9,4 @@ diff -up mc-4.7.2.99/src/editor/editwidget.c.mcviewsegfault mc-4.7.2.99/src/edit + return edit?edit->filename:NULL; } - void + /* --------------------------------------------------------------------------------------------- */