(Fcall_process_region) [DOSNT]: Canonicalize slashes in filename.
(child_setup) [WINDOWSNT]: Decrease handles array by one.
else
{
#ifndef MSDOS
-#ifdef WINDOWSNT
- pipe_with_inherited_out (fd);
-#else /* not WINDOWSNT */
pipe (fd);
-#endif /* not WINDOWSNT */
#endif
#if 0
/* Replaced by close_process_descs */
tempfile = alloca (20);
*tempfile = '\0';
}
- dostounix_filename (tempfile);
if (!IS_DIRECTORY_SEP (tempfile[strlen (tempfile) - 1]))
strcat (tempfile, "/");
#ifdef WINDOWSNT
#else
strcat (tempfile, "detmp.XXX");
#endif
+ if ('/' == DIRECTORY_SEP)
+ dostounix_filename (tempfile);
+ else
+ unixtodos_filename (tempfile);
#else /* not DOS_NT */
#ifdef VMS
char *pwd_var;
#ifdef WINDOWSNT
int cpid;
- HANDLE handles[4];
+ HANDLE handles[3];
#endif /* WINDOWSNT */
int pid = getpid ();