Back out my earlier change. Note that this is just for the 1.1.5R floppies;
the 1.1.5A ones still have the work-around method (which works fine and
doesn't hurt anything, it's just kludge!).
slash = strrchr(argv[0], '/');
basename = slash? slash+1 : argv[0];
slash = strrchr(argv[0], '/');
basename = slash? slash+1 : argv[0];
- if (!strcmp(argv[0], "-"))
- basename="sh";
for(ep=entry_points; ep->name != NULL; ep++)
if(!strcmp(basename, ep->name)) break;
for(ep=entry_points; ep->name != NULL; ep++)
if(!strcmp(basename, ep->name)) break;