patch-2.2.8 linux/scripts/tkgen.c
Next file: linux/scripts/tkparse.c
Previous file: linux/scripts/Menuconfig
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun May 2 09:51:16 1999
- Orig file:
v2.2.7/linux/scripts/tkgen.c
- Orig date:
Tue Feb 23 15:21:36 1999
diff -u --recursive --new-file v2.2.7/linux/scripts/tkgen.c linux/scripts/tkgen.c
@@ -930,8 +930,11 @@
case token_hex:
case token_int:
+ printf( "set %s %s\n", cfg->optionname, cfg->value ? cfg->value : "0");
+ break;
+
case token_string:
- printf( "set %s %s\n", cfg->optionname, cfg->value );
+ printf( "set %s \"%s\"\n", cfg->optionname, cfg->value ? cfg->value : "");
break;
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)