]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: Fix access to block devices below /proc/sys.
authorChristian Franke <franke@computer.org>
Sat, 28 Nov 2020 21:09:23 +0000 (22:09 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 30 Nov 2020 10:53:00 +0000 (11:53 +0100)
commit3434d35a64736f0b77a12f61784c2caa33ac44cf
treeb6e41e6493ca222733713d6ab805783e2ce32226
parent7fa8405d3fc166e48f8b401cbd83ce65e694b5a7
Cygwin: Fix access to block devices below /proc/sys.

Use fhandler_dev_floppy instead of fhandler_procsys for such devices.
The read()/write() functions from fhandler_procsys do not ensure
sector aligned transfers and lseek() fails always.

Signed-off-by: Christian Franke <franke@computer.org>
winsup/cygwin/path.cc
This page took 0.027553 seconds and 5 git commands to generate.