diff options
author | Alan Modra <amodra@gmail.com> | 2001-03-14 03:14:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-03-14 03:14:56 +0000 |
commit | 0eee5820aa0f68b2283b40f5a3fb09aefcfb1575 (patch) | |
tree | 849fb8ae327bfed38a9afe6c45bed35e4a96703a /gprof/search_list.c | |
parent | 04847a4d3e1cf5c5c811f8fbbdeeca498de51dc4 (diff) |
David Mosberger's fixes for cross compiling gprof.
Diffstat (limited to 'gprof/search_list.c')
-rw-r--r-- | gprof/search_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gprof/search_list.c b/gprof/search_list.c index 575aba354dd..743fbdac608 100644 --- a/gprof/search_list.c +++ b/gprof/search_list.c @@ -1,6 +1,6 @@ /* search-list.c - Copyright 2000 Free Software Foundation, Inc. + Copyright 2000, 2001 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -37,7 +37,7 @@ DEFUN (search_list_append, (list, paths), { beg = colon + 1; colon = strchr (beg, PATH_SEP_CHAR); - + if (colon) len = colon - beg; else @@ -49,7 +49,7 @@ DEFUN (search_list_append, (list, paths), /* Append new path at end of list. */ new_el->next = 0; - + if (list->tail) list->tail->next = new_el; else |