patch-1.3.86 linux/scripts/tkparse.c

Next file: linux/Documentation/Configure.help
Previous file: linux/scripts/ksymoops.cc
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.85/linux/scripts/tkparse.c linux/scripts/tkparse.c
@@ -135,7 +135,7 @@
 	pnt++;
 	while(*pnt && *pnt != '`') *pnt1++ = *pnt++;
 	*pnt1++ = '\0';
-	cpnt->variable = strdup(varname);
+	cpnt->variable.str = strdup(varname);
 	if( *pnt == '`' ) pnt++;
 	if( *pnt == '"' ) pnt++;
 	continue;
@@ -147,7 +147,7 @@
 	pnt++;
 	while(*pnt && *pnt != '"') *pnt1++ = *pnt++;
 	*pnt1++ = '\0';
-	cpnt->variable = strdup(varname);
+	cpnt->variable.str = strdup(varname);
 	if( *pnt == '"' ) pnt++;
 	continue;
       }
@@ -156,7 +156,7 @@
     pnt1 = varname;
     while(*pnt && *pnt != '"') *pnt1++ = *pnt++;
     *pnt1++ = '\0';
-    cpnt->variable = strdup(varname);
+    cpnt->variable.str = strdup(varname);
     if( *pnt == '"' ) pnt++;
     continue;
   }


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this