17 lines
547 B
Plaintext
17 lines
547 B
Plaintext
--- builtins/enable.def.orig Wed Dec 16 08:45:56 1998
|
|
+++ builtins/enable.def Fri Feb 19 16:54:16 1999
|
|
@@ -290,9 +290,10 @@
|
|
name = list->word->word;
|
|
|
|
size = strlen (name);
|
|
- struct_name = xmalloc (size + 8);
|
|
- strcpy (struct_name, name);
|
|
- strcpy (struct_name + size, "_struct");
|
|
+ struct_name = xmalloc (size + 9);
|
|
+ *struct_name = '_';
|
|
+ strcpy (struct_name + 1, name);
|
|
+ strcpy (struct_name + size + 1, "_struct");
|
|
|
|
b = (struct builtin *)dlsym (handle, struct_name);
|
|
if (b == 0)
|