* spawn.cc (spawn_guts): Don't set EXIT_REPARENTING if parent process is not a

cygwin process (suggested by Jason Gouger <cygwin@jason-gouger.com>).
This commit is contained in:
Christopher Faylor
2001-03-12 14:49:29 +00:00
parent d0909d913a
commit 941fa5ad96
3 changed files with 11 additions and 5 deletions

View File

@@ -1004,16 +1004,15 @@ stat_dev (DWORD devn, int unit, unsigned long ino, struct stat *buf)
sigframe thisframe (mainthread);
switch (devn)
{
case FH_CONOUT:
case FH_PIPEW:
buf->st_mode = STD_WBITS;
break;
case FH_CONIN:
case FH_PIPER:
buf->st_mode = STD_RBITS;
break;
default:
buf->st_mode = STD_RBITS | S_IWUSR | S_IWGRP | S_IWOTH;
case FH_CONIN:
case FH_CONOUT:
buf->st_mode = STD_RBITS | STD_WBITS;
break;
}