diff options
| author | Richard M. Stallman | 1996-06-11 21:13:14 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-11 21:13:14 +0000 |
| commit | 90e0918af04664e2eacb13356987fe1ff5d95722 (patch) | |
| tree | 78f24a63193a855a7479d657abf47c99f824dbaf /lib-src | |
| parent | 89d7280dcfbbc5b41b71704d84b368629cd829c2 (diff) | |
| download | emacs-90e0918af04664e2eacb13356987fe1ff5d95722.tar.gz emacs-90e0918af04664e2eacb13356987fe1ff5d95722.zip | |
(etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 34948781689..e2737a3e667 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -4305,7 +4305,7 @@ concat (s1, s2, s3) | |||
| 4305 | char * | 4305 | char * |
| 4306 | etags_getcwd () | 4306 | etags_getcwd () |
| 4307 | { | 4307 | { |
| 4308 | #ifdef DOS_NT | 4308 | #ifdef MSDOS |
| 4309 | char *p, path[MAXPATHLEN + 1]; /* Fixed size is safe on MSDOS. */ | 4309 | char *p, path[MAXPATHLEN + 1]; /* Fixed size is safe on MSDOS. */ |
| 4310 | 4310 | ||
| 4311 | getwd (path); | 4311 | getwd (path); |
| @@ -4316,7 +4316,7 @@ etags_getcwd () | |||
| 4316 | *p = lowcase (*p); | 4316 | *p = lowcase (*p); |
| 4317 | 4317 | ||
| 4318 | return strdup (path); | 4318 | return strdup (path); |
| 4319 | #else /* not DOS_NT */ | 4319 | #else /* not MSDOS */ |
| 4320 | #if HAVE_GETCWD | 4320 | #if HAVE_GETCWD |
| 4321 | int bufsize = 200; | 4321 | int bufsize = 200; |
| 4322 | char *path = xnew (bufsize, char); | 4322 | char *path = xnew (bufsize, char); |
| @@ -4330,7 +4330,7 @@ etags_getcwd () | |||
| 4330 | } | 4330 | } |
| 4331 | 4331 | ||
| 4332 | return path; | 4332 | return path; |
| 4333 | #else /* not DOS_NT and not HAVE_GETCWD */ | 4333 | #else /* not MSDOS and not HAVE_GETCWD */ |
| 4334 | struct linebuffer path; | 4334 | struct linebuffer path; |
| 4335 | FILE *pipe; | 4335 | FILE *pipe; |
| 4336 | 4336 | ||
| @@ -4342,7 +4342,7 @@ etags_getcwd () | |||
| 4342 | 4342 | ||
| 4343 | return path.buffer; | 4343 | return path.buffer; |
| 4344 | #endif /* not HAVE_GETCWD */ | 4344 | #endif /* not HAVE_GETCWD */ |
| 4345 | #endif /* not DOS_NT */ | 4345 | #endif /* not MSDOS */ |
| 4346 | } | 4346 | } |
| 4347 | 4347 | ||
| 4348 | /* Return a newly allocated string containing the filename | 4348 | /* Return a newly allocated string containing the filename |