diff options
author | Christopher Faylor <me@cgf.cx> | 2005-04-08 19:57:36 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-04-08 19:57:36 +0000 |
commit | c07aaf0f0488a80abf1980712dd440de9ef82e68 (patch) | |
tree | 405dd36674469f4fa5d6bbb5d6a5039eb9bc1433 /winsup/cygwin/pipe.cc | |
parent | 95c136c40a78f97bdd01a20f4e50263b2890636a (diff) | |
download | cygnal-c07aaf0f0488a80abf1980712dd440de9ef82e68.tar.gz cygnal-c07aaf0f0488a80abf1980712dd440de9ef82e68.tar.bz2 cygnal-c07aaf0f0488a80abf1980712dd440de9ef82e68.zip |
* pipe.cc (fhandler_pipe::open): Remove O_CREAT limitation.
Diffstat (limited to 'winsup/cygwin/pipe.cc')
-rw-r--r-- | winsup/cygwin/pipe.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/pipe.cc b/winsup/cygwin/pipe.cc index 48499f4bc..4bdb1e8c1 100644 --- a/winsup/cygwin/pipe.cc +++ b/winsup/cygwin/pipe.cc @@ -46,11 +46,6 @@ fhandler_pipe::open (int flags, mode_t mode) size_t size; int pid, rwflags = (flags & O_ACCMODE); - if (flags & O_CREAT) - { - set_errno (EACCES); - return 0; - } sscanf (get_name (), "/proc/%d/fd/pipe:[%d]", &pid, (int *) &pipe_hdl); if (pid == myself->pid) { |