public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Revert "Cygwin: mknod: disable creating special files on NFS" Date: Tue, 5 Sep 2023 08:46:19 +0000 (GMT) [thread overview] Message-ID: <20230905084620.0A090385842C@sourceware.org> (raw) 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)
reply other threads:[~2023-09-05 8:46 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230905084620.0A090385842C@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).