* pipe.cc (fhandler_pipe::open): Remove O_CREAT limitation.

This commit is contained in:
Christopher Faylor 2005-04-08 19:57:36 +00:00
parent 95c136c40a
commit c07aaf0f04
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2005-04-08 Christopher Faylor <cgf@timesys.com>
* pipe.cc (fhandler_pipe::open): Remove O_CREAT limitation.
2005-04-07 Corinna Vinschen <corinna@vinschen.de>
* syslog.cc (try_connect_guard): Remove useless conditionalized code.

View File

@ -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)
{