aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/devices.in
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-10-26 13:23:54 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-10-26 13:23:54 +0000
commitc8ae71316f119398eb796542872abebff9b79a96 (patch)
treee6d97774cfc4f8146dfae98bffcecd8c49e452e5 /winsup/cygwin/devices.in
parent2e178c6909d93b1160fe12ee594d0038ef9af847 (diff)
downloadnewlib-c8ae71316f119398eb796542872abebff9b79a96.zip
newlib-c8ae71316f119398eb796542872abebff9b79a96.tar.gz
newlib-c8ae71316f119398eb796542872abebff9b79a96.tar.bz2
* devices.in (dev_storage): Map /dev/dsp to \Device\Null.
* devices.cc: Regenerate. * fhandler_dsp.cc (fhandler_dev_dsp::open): Call fhandler_base::open. (fhandler_dev_dsp::close): Call fhandler_base::close. (fhandler_dev_dsp::fixup_after_fork): Call fhandler_base::fixup_after_fork. * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Call fhandler_base::fixup_after_fork.
Diffstat (limited to 'winsup/cygwin/devices.in')
-rw-r--r--winsup/cygwin/devices.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.in b/winsup/cygwin/devices.in
index ef10557..bba5fdd 100644
--- a/winsup/cygwin/devices.in
+++ b/winsup/cygwin/devices.in
@@ -148,7 +148,7 @@ const device dev_error_storage =
"/dev/console", BRACK(FH_CONSOLE), "/dev/console", exists_console, S_IFCHR, =console_dev
"/dev/ptmx", BRACK(FH_PTMX), "/dev/ptmx", exists, S_IFCHR
"/dev/windows", BRACK(FH_WINDOWS), "/dev/windows", exists, S_IFCHR
-"/dev/dsp", BRACK(FH_OSS_DSP), "/dev/dsp", exists, S_IFCHR
+"/dev/dsp", BRACK(FH_OSS_DSP), "\\Device\\Null", exists_ntdev, S_IFCHR
"/dev/conin", BRACK(FH_CONIN), "/dev/conin", exists_console, S_IFCHR
"/dev/conout", BRACK(FH_CONOUT), "/dev/conout", exists_console, S_IFCHR
"/dev/null", BRACK(FH_NULL), "\\Device\\Null", exists_ntdev, S_IFCHR