]> granicus.if.org Git - yasm/commitdiff
Actually return the basename from our basename() replacement.
authorPeter Johnson <peter@tortall.net>
Wed, 23 Jul 2003 02:48:13 +0000 (02:48 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 23 Jul 2003 02:48:13 +0000 (02:48 -0000)
svn path=/trunk/yasm/; revision=1014

frontends/yasm/yasm-module.c

index a5acf5ef75249167363baab48f75bc896e2f87d7..309ca9283e22e99acbe1472f1738c7dee88dfada 100644 (file)
@@ -157,6 +157,7 @@ basename(const char *path)
        base = path;
     else
        base++;
+    return base;
 }
 #endif