* support/regression/tests/arithcsi.c: added regression test
[fw/sdcc] / support / Util / MySystem.c
index b78d99aac17b20736a6e3eda39af189a3cfd3fe8..089b6b55d6095c7ef50f311898778798560e93a2 100644 (file)
@@ -249,10 +249,7 @@ merge_command(const char *command, const char *params)
 static int
 has_path(const char *path)
 {
-  if (strrchr(path, DIR_SEPARATOR_CHAR) == NULL)
-      return 0;
-
-  return 1;
+  return dbuf_splitPath(path, NULL, NULL);
 }