Branch: Tag:

1997-01-14

1997-01-14 18:16:13 by Niels Möller <nisse@lysator.liu.se>

* dynamic_load.c (f_load_module): Now strips filename extension,
instead of keeping only leading [a-zA-Z]+. Thus handles symbols
containing underscore better.

Rev: src/dynamic_load.c:1.7

60:    strcpy(buf1, foo);    foo=buf1;    -  while((*foo >= 'a' && *foo <= 'z' ) || (*foo >= 'A' && *foo <= 'Z' )) -  foo++; -  +  /* Strip extension, if any */ +  foo = STRCHR(foo, '.'); +  if (foo)    *foo=0;       strcpy(buf2,"init_");