From b9ad1fda3f785c10ca6621ae81986d3e3a96637d Mon Sep 17 00:00:00 2001 From: Olaf Barthel Date: Wed, 7 May 2008 09:33:55 +0000 Subject: [PATCH] - Elaborated on the unidirectional/bidirectional PIPE: issues. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15199 87f5fb63-7c3d-0410-a384-fd976d0f7a62 --- library/stdio_popen.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/library/stdio_popen.c b/library/stdio_popen.c index 249c62f..4c574bf 100644 --- a/library/stdio_popen.c +++ b/library/stdio_popen.c @@ -1,5 +1,5 @@ /* - * $Id: stdio_popen.c,v 1.9 2006-01-08 12:04:24 obarthel Exp $ + * $Id: stdio_popen.c,v 1.10 2008-05-07 09:33:55 obarthel Exp $ * * :ts=4 * @@ -154,7 +154,9 @@ popen(const char *command, const char *type) goto out; } - /* The current PIPE: device only supports unidirectional connections. */ + /* The current PIPE: device only supports unidirectional connections. Worse: even if + a PIPE: device with bidirectional connection support were available, we would + be unable to detect this property. */ if((type[1] == '+') || (type[1] != '\0' && type[2] == '+')) { D(("unsupported access mode '%s'",type));