lkml.org 
[lkml]   [1996]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: make xconfig bug in 1.3.79
From
Date
Regis DUCHESNE <regis@via.ecp.fr> writes:

>
> I had a bug when saving the configuration file (with both save and save&exit
> buttons) : only a small piece of my config file is written, and i get an
> error, so i asked for a Stack Trace:
>
> ---
>
> can't read "varname_MODULE": no such variable

Try this.

--- header.tk.bad Tue Mar 26 23:06:01 1996
+++ header.tk Tue Mar 26 22:48:06 1996
@@ -205,7 +205,7 @@
elseif { $variable == 2 || ($dep == 2 && $variable == 1) } \
then { puts $file1 "$varname=m"; \
puts $file2 "#undef $varname"; \
- puts $file2 "#define $varname_MODULE 1" } \
+ puts $file2 "#define ${varname}_MODULE 1" } \
elseif { $variable == 1 && $dep != 2 } \
then { puts $file1 "$varname=y"; \
puts $file2 "#define $varname 1" } \

--
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.044 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site