z80 library paths may contain '.' now
authorjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 17 Jul 2003 16:10:25 +0000 (16:10 +0000)
committerjesusc <jesusc@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 17 Jul 2003 16:10:25 +0000 (16:10 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2747 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
link/z80/lklibr.c

index 5c12e6d10f08395a9d0e7365ccf3c2da1128aaee..62554fdfcde8504acd2404c85f5eb8b00b812461 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-17  Jesus Calvino-Fraga <jesusc@ece.ubc.ca>
+
+    * link/z80/lklibr.c: fixed bug when there is a '.' in a library path.
+
 2003-07-17  Bernhard Held <bernhard@bernhardheld.de>
 
         * device/lib/Makefile.in: bad fix, reverted to 1.43
index 7fd9f3defcbbbcdb0eb846961a77ede0fb769df9..dac07b42d9666e131fefa24bd688def7ac7d1738 100644 (file)
@@ -229,7 +229,7 @@ char *libfil;
 #endif /* SDK */
 #endif
        strcat(str,libfil);
-       if(strchr(str,FSEPX) == NULL) {
+       if(strchr(libfil,FSEPX) == NULL) {
                sprintf(&str[strlen(str)], "%clib", FSEPX);
        }
        if ((fp = fopen(str, "r")) != NULL) {