[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109537: * lib-src/ebrowse.c (PATH_LI
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109537: * lib-src/ebrowse.c (PATH_LIST_SEPARATOR): Remove |
Date: |
Thu, 09 Aug 2012 19:53:07 -0400 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109537
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2012-08-09 19:53:07 -0400
message:
* lib-src/ebrowse.c (PATH_LIST_SEPARATOR): Remove
Replace with SEPCHAR from config.h.
modified:
lib-src/ChangeLog
lib-src/ebrowse.c
=== modified file 'lib-src/ChangeLog'
--- a/lib-src/ChangeLog 2012-08-03 12:16:40 +0000
+++ b/lib-src/ChangeLog 2012-08-09 23:53:07 +0000
@@ -1,3 +1,8 @@
+2012-08-09 Glenn Morris <address@hidden>
+
+ * ebrowse.c (PATH_LIST_SEPARATOR):
+ Remove, and replace with SEPCHAR from config.h.
+
2012-08-03 Juanma Barranquero <address@hidden>
* makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
=== modified file 'lib-src/ebrowse.c'
--- a/lib-src/ebrowse.c 2012-06-24 17:39:14 +0000
+++ b/lib-src/ebrowse.c 2012-08-09 23:53:07 +0000
@@ -43,17 +43,12 @@
#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 @@
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 @@
else
search_path = search_path_tail = p;
- while (*path_list == PATH_LIST_SEPARATOR)
+ while (*path_list == SEPCHAR)
++path_list;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109537: * lib-src/ebrowse.c (PATH_LIST_SEPARATOR): Remove,
Glenn Morris <=