patch-2.3.19 linux/scripts/tail.tk

Next file: linux/scripts/tkcond.c
Previous file: linux/scripts/lxdialog/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.18/linux/scripts/tail.tk linux/scripts/tail.tk
@@ -29,10 +29,12 @@
 	read_config $defaults
 }
 
-update_mainmenu .f0
+update_define 1 $total_menus 0
+update_mainmenu
 
 button .f0.right.save -anchor w -text "Save and Exit" \
-    -command { writeconfig .config include/linux/autoconf.h; wrapup .wrap }
+    -command { catch {exec cp -f .config .config.old}; \
+		writeconfig .config include/linux/autoconf.h; wrapup .wrap }
 
 button .f0.right.quit -anchor w -text "Quit Without Saving" \
     -command { maybe_exit .maybe }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)