1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
diff '--exclude=debian' -ruN x/elvis-tiny-1.4.orig/tmp.c elvis-tiny-1.4/tmp.c
--- a/tmp.c
+++ b/tmp.c
@@ -75,7 +75,7 @@ static void do_modeline(l, stop)
/* The FAIL() macro prints an error message and then exits. */
-#define FAIL(why,arg) mode = MODE_EX; msg(why, arg); endwin(); exit(9)
+#define FAIL(why,arg) mode = MODE_EX; msg(why, arg); sleep(1); endwin(); exit(9)
/* This is the name of the temp file */
static char tmpname[80];
--- a/main.c
+++ b/main.c
@@ -124,6 +124,7 @@ void main(argc, argv)
msg("Use the `virec` program to recover lost files");
endmsgs();
refresh();
+ sleep(1);
endwin();
exit(0);
break;
|