diff options
author | Christopher Faylor <me@cgf.cx> | 2004-07-20 15:52:33 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-07-20 15:52:33 +0000 |
commit | 894c67771114c898c0306367e46ce4eba3f40141 (patch) | |
tree | 12c767e4185e649398f99a2c940142cef127659f /winsup/cygwin/syscalls.cc | |
parent | f451556720a52b4194274d45cb94f252a0937e20 (diff) | |
download | newlib-894c67771114c898c0306367e46ce4eba3f40141.zip newlib-894c67771114c898c0306367e46ce4eba3f40141.tar.gz newlib-894c67771114c898c0306367e46ce4eba3f40141.tar.bz2 |
* Makefile.in (clean): Remove cygwin.def since it is autogenerated.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index b524e61..27b6845 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1939,10 +1939,9 @@ mknod (const char *_path, mode_t mode, __dev16_t dev) } extern "C" int -mkfifo (const char *_path, mode_t mode) +mkfifo (const char *path, mode_t mode) { - set_errno (ENOSYS); // FIXME - return -1; + return mknod32 (path, (mode & ~S_IFMT) | S_IFIFO, 0); } /* seteuid: standards? */ |