X-Git-Url: https://git.yukkurigames.com/?p=rogue-pphs.git;a=blobdiff_plain;f=mdport.c;h=054324fe1bf1d62dbb7aeae7fad0888d24302e2f;hp=eb33c32082450c7255ded3562ce9375d92f9c33b;hb=42f03179903be5a86084b56dd2c25d984049ee99;hpb=a868f7779583a00316cb076fc4d62ccfb1488434 diff --git a/mdport.c b/mdport.c index eb33c32..054324f 100644 --- a/mdport.c +++ b/mdport.c @@ -85,9 +85,6 @@ md_init() #if defined(__DJGPP__) || defined(_WIN32) _fmode = _O_BINARY; #endif -#if defined(__CYGWIN__) || defined(__MSYS__) - ESCDELAY=250; -#endif } int @@ -357,7 +354,7 @@ md_shellescape() */ setuid(getuid()); setgid(getgid()); - execl(sh == NULL ? "/bin/sh" : sh, "shell", "-i", 0); + execl(sh == NULL ? "/bin/sh" : sh, "shell", "-i", (char *)0); perror("No shelly"); _exit(-1); }