diff options
author | Glenn Morris <rgm@gnu.org> | 2012-08-09 19:53:07 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-08-09 19:53:07 -0400 |
commit | 35656638797b4643e7d3ed942ded9fa43429cadc (patch) | |
tree | ffef3653243864498e4743d866d0b018ad43427c /lib-src/ebrowse.c | |
parent | 31673780356f219c7a26251b2f79fb00c8e29f0b (diff) |
* lib-src/ebrowse.c (PATH_LIST_SEPARATOR): Remove
Replace with SEPCHAR from config.h.
Diffstat (limited to 'lib-src/ebrowse.c')
-rw-r--r-- | lib-src/ebrowse.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index 1c43bc6a4f..f8569fe374 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -43,17 +43,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #define READ_CHUNK_SIZE (100 * 1024) -/* The character used as a separator in path lists (like $PATH). */ - #if defined (__MSDOS__) -#define PATH_LIST_SEPARATOR ';' #define FILENAME_EQ(X,Y) (strcasecmp (X,Y) == 0) #else #if defined (WINDOWSNT) -#define PATH_LIST_SEPARATOR ';' #define FILENAME_EQ(X,Y) (stricmp (X,Y) == 0) #else -#define PATH_LIST_SEPARATOR ':' #define FILENAME_EQ(X,Y) (streq (X,Y)) #endif #endif @@ -3417,7 +3412,7 @@ add_search_path (char *path_list) char *start = path_list; struct search_path *p; - while (*path_list && *path_list != PATH_LIST_SEPARATOR) + while (*path_list && *path_list != SEPCHAR) ++path_list; p = (struct search_path *) xmalloc (sizeof *p); @@ -3434,7 +3429,7 @@ add_search_path (char *path_list) else search_path = search_path_tail = p; - while (*path_list == PATH_LIST_SEPARATOR) + while (*path_list == SEPCHAR) ++path_list; } } |