# HG changeset patch # User Richard M. Stallman # Date 834527594 0 # Node ID b02e671551dc6712dc0823bbf9659dc26f727002 # Parent 7c205bc80624662faea4916ce510ba8a45f60a1e (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only. diff -r 7c205bc80624 -r b02e671551dc lib-src/etags.c --- a/lib-src/etags.c Tue Jun 11 19:50:32 1996 +0000 +++ b/lib-src/etags.c Tue Jun 11 21:13:14 1996 +0000 @@ -4305,7 +4305,7 @@ char * etags_getcwd () { -#ifdef DOS_NT +#ifdef MSDOS char *p, path[MAXPATHLEN + 1]; /* Fixed size is safe on MSDOS. */ getwd (path); @@ -4316,7 +4316,7 @@ *p = lowcase (*p); return strdup (path); -#else /* not DOS_NT */ +#else /* not MSDOS */ #if HAVE_GETCWD int bufsize = 200; char *path = xnew (bufsize, char); @@ -4330,7 +4330,7 @@ } return path; -#else /* not DOS_NT and not HAVE_GETCWD */ +#else /* not MSDOS and not HAVE_GETCWD */ struct linebuffer path; FILE *pipe; @@ -4342,7 +4342,7 @@ return path.buffer; #endif /* not HAVE_GETCWD */ -#endif /* not DOS_NT */ +#endif /* not MSDOS */ } /* Return a newly allocated string containing the filename