]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: fix chmod on native NFS FIFOs
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 8 Sep 2023 20:38:53 +0000 (22:38 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 8 Sep 2023 20:38:53 +0000 (22:38 +0200)
commitbedefff9e25b6b2bdc13e0268a437f82dc4b4798
treef0d289a651860c845386ecaf00b8a43cbbb37872
parent53472e1803808d5fb91029f4c26c86989c62c82c
Cygwin: fix chmod on native NFS FIFOs

By handling native NFS FIFOs as actual FIFOs, chmod on a FIFO
suddenly called fhandler_base::fchmod, which is insufficient
to handle FIFO files on any filesystem.

Note that this does not fix Cygwin FIFOs on NFS or AFS yet.

Fixes: 622fb0776ea3 ("Cygwin: enable usage of FIFOs on NFS")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler/base.cc
winsup/cygwin/fhandler/disk_file.cc
This page took 0.033361 seconds and 5 git commands to generate.