+2003-09-18 Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+ *link/z80/lklibr.c, as/mcs51/lklibr.c: Fixed Linux segfaults when
+ trying to fclose a FILE* that was already closed.
+
2003-09-18 Erik Petrich <epetrich@ivorytower.norman.ok.us>
* src/SDCCsymt.c (structElemType): fixed bug #808291 (members
/*Get the built in index of a library*/
This=buildlibraryindex_SdccLib(lbnh->libspc, libfp, str, This);
free(str);
- fclose(libfp);
break; /*get the index for next library*/
}
if(strcmp(relfil, "<SDCCLIB>")==0)
{
result=SdccLib(lbnh->libspc, libfp, str, name);
- fclose(libfp);
if(result) return(1); /*Found the symbol*/
free(str);
/*The symbol is not in the current library,
/*Get the built in index of a library*/
This=buildlibraryindex_SdccLib(lbnh->libspc, libfp, str, This);
free(str);
- fclose(libfp);
break; /*get the index for next library*/
}
if(strcmp(relfil, "<SDCCLIB>")==0)
{
result=SdccLib(lbnh->libspc, libfp, str, name);
- fclose(libfp);
if(result) return(1); /*Found the symbol*/
free(str);
/*The symbol is not in the current library,