From 6759759919e30144ebe7a372cdeb240ddce63874 Mon Sep 17 00:00:00 2001 From: jesusc Date: Thu, 24 Jul 2003 16:37:54 +0000 Subject: [PATCH] use FSEPX to create filename git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2771 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- as/mcs51/lklibr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/as/mcs51/lklibr.c b/as/mcs51/lklibr.c index d0d6c23e..20444953 100644 --- a/as/mcs51/lklibr.c +++ b/as/mcs51/lklibr.c @@ -417,7 +417,7 @@ int SdccLib(char * PathLib, FILE * libfp, char * DirLib, char * SymName) /*As in the original library format, it is assumed that the .rel files reside in the same directory as the lib files.*/ strcat(DirLib, ModName); - strcat(DirLib, ".rel"); /*FSEPX???*/ + sprintf(&DirLib[strlen(DirLib)], "%crel", FSEPX); /*If this module has been loaded already don't load it again.*/ lbf = lbfhead; -- 2.30.2