summaryrefslogtreecommitdiffstats
path: root/newlib/libc/posix/popen.c
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-10-22 16:40:26 +0000
committerChristopher Faylor <me@cgf.cx>2001-10-22 16:40:26 +0000
commit333d60984389f9e0173c60d6016ac36099686b59 (patch)
tree32c6ac1ae72472df13bd47122bd87b596575646f /newlib/libc/posix/popen.c
parentc270dc2555b88173abfd962036e99f986101158a (diff)
downloadcygnal-333d60984389f9e0173c60d6016ac36099686b59.tar.gz
cygnal-333d60984389f9e0173c60d6016ac36099686b59.tar.bz2
cygnal-333d60984389f9e0173c60d6016ac36099686b59.zip
* libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.
* signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__. * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__. * system.c (_system_r): Ditto.
Diffstat (limited to 'newlib/libc/posix/popen.c')
-rw-r--r--newlib/libc/posix/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/posix/popen.c b/newlib/libc/posix/popen.c
index 4fd3dd93d..d6d174d08 100644
--- a/newlib/libc/posix/popen.c
+++ b/newlib/libc/posix/popen.c
@@ -106,7 +106,7 @@ popen(program, type)
(void)close(pdes[1]);
}
execl(_PATH_BSHELL, "sh", "-c", program, NULL);
-#ifdef __CYGWIN32__
+#ifdef __CYGWIN__
/* On cygwin32, we may not have /bin/sh. In that
case, try to find sh on PATH. */
execlp("sh", "sh", "-c", program, NULL);