Mercurial > emacs
diff src/callproc.c @ 103711:531520bb5152
* sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused.
(mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused.
* callproc.c (child_setup): Use #else instead of a separate #ifdef.
* term.c (init_tty): Remove spurious #ifdef.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 03 Jul 2009 13:46:39 +0000 |
parents | 138b39938198 |
children | f369eb846e57 |
line wrap: on
line diff
--- a/src/callproc.c Fri Jul 03 13:42:29 2009 +0000 +++ b/src/callproc.c Fri Jul 03 13:46:39 2009 +0000 @@ -1127,16 +1127,14 @@ at least check. */ if (chdir (temp) < 0) _exit (errno); -#endif - -#ifdef DOS_NT +#else /* DOS_NT */ /* Get past the drive letter, so that d:/ is left alone. */ if (i > 2 && IS_DEVICE_SEP (temp[1]) && IS_DIRECTORY_SEP (temp[2])) { temp += 2; i -= 2; } -#endif +#endif /* DOS_NT */ /* Strip trailing slashes for PWD, but leave "/" and "//" alone. */ while (i > 2 && IS_DIRECTORY_SEP (temp[i - 1]))