public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Revert "Cygwin: mknod: disable creating special files on NFS"
@ 2023-09-05 8:46 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2023-09-05 8:46 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=46e986f0e470939697f73a389e5e043a0a99425c
commit 46e986f0e470939697f73a389e5e043a0a99425c
Author: Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Sat Aug 26 15:42:33 2023 +0200
Commit: Corinna Vinschen <corinna@vinschen.de>
CommitDate: Mon Sep 4 10:41:06 2023 +0200
Revert "Cygwin: mknod: disable creating special files on NFS"
This reverts commit d085592daa5f89ccc9f5b86b2ca26199e7516d61.
This reenables creating Cygwin FIFOs on NFS.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/syscalls.cc | 6 ------
1 file changed, 6 deletions(-)
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 52b9c9a8be91..e4b3dd2f3c62 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -3294,12 +3294,6 @@ mknod (const char *path, mode_t mode, dev_t dev)
__leave;
}
- if (w32path.fs_is_nfs ())
- {
- set_errno (EPERM);
- __leave;
- }
-
return mknod_worker (w32path, mode, major, minor);
}
__except (EFAULT)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-05 8:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05 8:46 [newlib-cygwin/main] Revert "Cygwin: mknod: disable creating special files on NFS" Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).