aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dosfns.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dosfns.c b/src/dosfns.c
index b1ba6063a37..d0f5f18dd01 100644
--- a/src/dosfns.c
+++ b/src/dosfns.c
@@ -469,6 +469,13 @@ dos_cleanup (void)
469#ifndef HAVE_X_WINDOWS 469#ifndef HAVE_X_WINDOWS
470 restore_parent_vm_title (); 470 restore_parent_vm_title ();
471#endif 471#endif
472 /* Make sure the termscript file is committed, in case we are
473 crashing and some vital info was written there. */
474 if (termscript)
475 {
476 fflush (termscript);
477 fsync (fileno (termscript));
478 }
472} 479}
473 480
474/* 481/*