patch-pre2.0.13 linux/scripts/tkgen.c
Next file: linux/Documentation/00-INDEX
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu Jun 6 13:30:41 1996
- Orig file:
pre2.0.12/linux/scripts/tkgen.c
- Orig date:
Mon Apr 15 12:20:22 1996
diff -u --recursive --new-file pre2.0.12/linux/scripts/tkgen.c linux/scripts/tkgen.c
@@ -989,9 +989,11 @@
case tok_dep_tristate:
case tok_define:
case tok_choose:
- if(cfg->flags & GLOBAL_WRITTEN) break;
- cfg->flags |= GLOBAL_WRITTEN;
- printf("\tglobal %s\n", cfg->optionname);
+ if(!(cfg->flags & GLOBAL_WRITTEN))
+ {
+ cfg->flags |= GLOBAL_WRITTEN;
+ printf("\tglobal %s\n", cfg->optionname);
+ }
/* fall through */
case tok_make:
case tok_comment:
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this