summaryrefslogtreecommitdiff
path: root/gprof/search_list.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-05-26 13:11:57 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-05-26 13:11:57 +0000
commit0ec238fa07cba008eba87c85d917d849fcb4c492 (patch)
tree63de07d189bc1be9db1080c93c385aab223e0ede /gprof/search_list.c
parent20b373ea5e261308d08c71629f0c6ac2b652b0ea (diff)
downloadbinutils-redhat-0ec238fa07cba008eba87c85d917d849fcb4c492.tar.gz
Eli Zaretskii's DOSish file name patches.
Diffstat (limited to 'gprof/search_list.c')
-rw-r--r--gprof/search_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/search_list.c b/gprof/search_list.c
index d475dbf6a4..ca2928935c 100644
--- a/gprof/search_list.c
+++ b/gprof/search_list.c
@@ -15,7 +15,7 @@ DEFUN (search_list_append, (list, paths),
do
{
beg = colon + 1;
- colon = strchr (beg, ':');
+ colon = strchr (beg, PATH_SEP_CHAR);
if (colon)
{
len = colon - beg;