summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/getc_u.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-06-30 23:01:29 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-11-16 19:34:46 -0800
commited0e3b0f38df5d4da54f0d785c29b9f40592fb80 (patch)
tree30b7172a8d4646019c343cc73cf1c13a14e3e61c /newlib/libc/stdio/getc_u.c
parent0c0bdac73e2aa598e4030b85f16b557fa4b3aaaf (diff)
downloadcygnal-ed0e3b0f38df5d4da54f0d785c29b9f40592fb80.tar.gz
cygnal-ed0e3b0f38df5d4da54f0d785c29b9f40592fb80.tar.bz2
cygnal-ed0e3b0f38df5d4da54f0d785c29b9f40592fb80.zip
Cygnal apps use cmd.exe, not /bin/sh.
* winsup/cygwin/include/paths.h (_PATH_CMDEXE): New preprocessor symbol. * winsup/cygwin/spawn.cc (av_setup): Use _PATH_CMDEXE rather than "/bin/sh". * winsup/cygwin/syscalls.cc (system): Spawn _PATH_CMDEXE with /c option rather than /bin/sh. (ETC_SHELLS): Preprocessor symbol removed. (shell_fp): Global variable removed. (getusershell): Don't open ETC_SHELLS, just march through static array of shell names. That array contains only one entry: _PATH_CMDEXE. (setusershell, endusershell): Remove references to shell_fp. (popen): Exec _PATH_CMDEXE rather than "/bin/sh", and the option is /c.
Diffstat (limited to 'newlib/libc/stdio/getc_u.c')
0 files changed, 0 insertions, 0 deletions