}
}
//JCF:
- CreateAOMF51();
+ //CreateAOMF51();
#ifdef WIN32T
Timer(1, "Linker execution time");
char fid[NINPUT];
while ((c = getnb()) != 0) {
+ if ( c == ';')
+ return(0);
if ( c == '-') {
while (ctype[c=get()] & LETTER) {
switch(c) {
lkexit(1);
}
}
+ if ( c == ';')
+ return(0);
} else
if (ctype[c] & ILL) {
fprintf(stderr, "Invalid input");
/*Look backward the name path and get rid of the extension, if any*/
i=strlen(fn);
- for(; (fn[i]!='.')&&(fn[i]!='\\')&&(fn[i]!='/')&&(i>=0); i--);
+ for(; (fn[i]!='.')&&(fn[i]!='\\')&&(fn[i]!='/')&&(i>0); i--);
if( (fn[i]=='.') && strcmp(ft, "lnk") )
{
strncpy(fb, fn, i);
}
/*Add the extension*/
- strcat(fb, ".");
- strcat(fb, strlen(ft)?ft:"rel");
-
+ if (fb[i] != '.')
+ {
+ strcat(fb, ".");
+ strcat(fb, strlen(ft)?ft:"rel");
+ }
+
fp = fopen(fb, omode);
if (fp==NULL)
{