projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* sim/ucsim/cmd.src/cmdutil.cc: NUL device is detected as CG_FILE type
[fw/sdcc]
/
support
/
Util
/
MySystem.c
diff --git
a/support/Util/MySystem.c
b/support/Util/MySystem.c
index b78d99aac17b20736a6e3eda39af189a3cfd3fe8..30e657c571e9757900a1e807947563c691ba8049 100644
(file)
--- a/
support/Util/MySystem.c
+++ b/
support/Util/MySystem.c
@@
-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 splitPath(path, NULL, 0, NULL, 0);
}