patch-2.2.2 linux/scripts/tkgen.c
Next file: linux/scripts/tkparse.c
Previous file: linux/scripts/lxdialog/yesno.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Mon Feb 1 12:03:19 1999
- Orig file:
v2.2.1/linux/scripts/tkgen.c
- Orig date:
Wed Jan 20 23:14:07 1999
diff -u --recursive --new-file v2.2.1/linux/scripts/tkgen.c linux/scripts/tkgen.c
@@ -89,6 +89,9 @@
* drives/net/Config.in and other places.
* - Fix menu line wraparound at 128 menus (some fool used a 'char' for
* a counter).
+ *
+ * 23 January 1999, Michael Elizabeth Chastain <mec@shout.net>
+ * - Remove bug-compatible code.
*/
#include <stdio.h>
@@ -749,11 +752,9 @@
break;
case token_endmenu:
-#if ! defined(BUG_COMPATIBLE)
/* flatten menus with proper scoping */
if ( --menu_depth < 0 )
{ fprintf( stderr, "unmatched endmenu\n" ); exit( 1 ); }
-#endif
break;
case token_bool:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)