newlib-cygwin/winsup/cygwin/fhandler
Takashi Yano bdb9f5b173 Cygwin: fsync: Fix EINVAL for block device.
The commit af8a7c13b5 has a problem that fsync returns EINVAL for
block device. This patch treats block devices as a special case.
https://cygwin.com/pipermail/cygwin/2023-January/252916.html

Fixes: af8a7c13b5 ("Cygwin: fsync: Return EINVAL for special files.")
Reported-by: Yano Ray <yanorei@hotmail.co.jp>
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
2023-01-22 19:01:34 +09:00
..
base.cc Cygwin: fsync: Fix EINVAL for block device. 2023-01-22 19:01:34 +09:00
clipboard.cc
console.cc Cygwin: /proc/<PID>/maps: print real shared region addresses 2023-01-17 22:00:48 +01:00
cygdrive.cc
dev.cc
dev_fd.cc
disk_file.cc Cygwin: stop handling files with .com suffix like .exe files 2022-10-28 12:44:27 +02:00
dsp.cc Cygwin: dsp: Fix a problem that fcntl() does not take effect. 2023-01-19 22:54:12 +09:00
fifo.cc Cygwin: select: don't report read ready on a FIFO never opened for writing 2022-10-19 08:17:50 -04:00
floppy.cc
mqueue.cc
netdrive.cc
nodevice.cc
null.cc
pipe.cc Cygwin: pipe: Fix performance degradation for non-cygwin pipe. 2022-12-09 21:01:29 +09:00
proc.cc Cygwin: /proc/cpuinfo: always print trailing empty line, as on Linux 2023-01-16 21:40:59 +01:00
process.cc Cygwin: /proc/<PID>/maps: print real shared region addresses 2023-01-17 22:00:48 +01:00
process_fd.cc
procnet.cc
procsys.cc
procsysvipc.cc
pty.cc Cygwin: console: Make the console accessible from other terminals. 2022-12-22 21:05:31 +09:00
random.cc
raw.cc
registry.cc
serial.cc Cygwin: serial: Fix a copy-paste error in DTR setup 2022-11-29 11:47:27 +01:00
signalfd.cc
socket.cc
socket_inet.cc
socket_local.cc
socket_unix.cc
tape.cc
termios.cc Cygwin: pinfo: Additional fix for CTTY behavior. 2023-01-10 21:35:35 +09:00
timerfd.cc
virtual.cc
windows.cc
zero.cc