diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/make-docfile.c | 10 |
2 files changed, 14 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 513bc8f21ba..1370f05a9d6 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * make-docfile.c (DIRECTORY_SEP): New macro. | ||
| 4 | (IS_DIRECTORY_SEP): Use it. | ||
| 5 | |||
| 1 | 2005-03-18 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 6 | 2005-03-18 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * emacsclient.c: Avoid expansion of getcwd when defined as a macro. | 8 | * emacsclient.c: Avoid expansion of getcwd when defined as a macro. |
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index e502061b759..dafd8f8914c 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -60,8 +60,16 @@ Boston, MA 02111-1307, USA. */ | |||
| 60 | #define READ_BINARY "r" | 60 | #define READ_BINARY "r" |
| 61 | #endif /* not DOS_NT */ | 61 | #endif /* not DOS_NT */ |
| 62 | 62 | ||
| 63 | #ifndef DIRECTORY_SEP | ||
| 64 | #ifdef MAC_OS8 | ||
| 65 | #define DIRECTORY_SEP ':' | ||
| 66 | #else /* not MAC_OS8 */ | ||
| 67 | #define DIRECTORY_SEP '/' | ||
| 68 | #endif /* not MAC_OS8 */ | ||
| 69 | #endif | ||
| 70 | |||
| 63 | #ifndef IS_DIRECTORY_SEP | 71 | #ifndef IS_DIRECTORY_SEP |
| 64 | #define IS_DIRECTORY_SEP(_c_) ((_c_) == '/') | 72 | #define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) |
| 65 | #endif | 73 | #endif |
| 66 | 74 | ||
| 67 | int scan_file (); | 75 | int scan_file (); |