summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-08-13 15:08:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-08-13 15:08:25 +0000
commit19afaa1a50ad936d91cf898eb7bb7e24af8c573f (patch)
tree0a17146cd1be2f625f6ac68f802b3440339cba6f /winsup/cygwin/devices.cc
parente31a79b1d67d76260a1024957a89ad1320575b97 (diff)
downloadcygnal-19afaa1a50ad936d91cf898eb7bb7e24af8c573f.tar.gz
cygnal-19afaa1a50ad936d91cf898eb7bb7e24af8c573f.tar.bz2
cygnal-19afaa1a50ad936d91cf898eb7bb7e24af8c573f.zip
* devices.in (dev_storage): Use native NT device name for kmsg mailslot.
* devices.cc: Regenerate. * fhandler.cc (fhandler_base::operator =): Use path_conv assignment operator. (fhandler_base::set_name): Ditto. (fhandler_base::open): Use NT native path in debug output. * fhandler_mailslot.cc: Convert to NT native function calls. * ntdll.h (struct _FILE_MAILSLOT_SET_INFORMATION): Define. (NtCreateMailslotFile): Declare. * path.cc (path_conv::set_normalized_path): Don't set wide_path to NULL. (path_conv::set_name): Remove unused function. * path.h (path_conv::set_name): Drop declaration. (path_conv::operator =): Define.
Diffstat (limited to 'winsup/cygwin/devices.cc')
-rw-r--r--winsup/cygwin/devices.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.cc b/winsup/cygwin/devices.cc
index 123b884cc..1915715c6 100644
--- a/winsup/cygwin/devices.cc
+++ b/winsup/cygwin/devices.cc
@@ -104,7 +104,7 @@ static const device dev_storage[] =
{"/dev/fifo", BRACK(FH_FIFO), "\\dev\\fifo"},
{"/dev/full", BRACK(FH_FULL), "\\dev\\full"},
{"/dev/kmem", BRACK(FH_KMEM), "\\dev\\mem"},
- {"/dev/kmsg", BRACK(FH_KMSG), "\\\\.\\mailslot\\cygwin\\dev\\kmsg"},
+ {"/dev/kmsg", BRACK(FH_KMSG), "\\Device\\MailSlot\\cygwin\\dev\\kmsg"},
{"/dev/mem", BRACK(FH_MEM), "\\dev\\mem"},
{"/dev/nst0", BRACK(FHDEV(DEV_TAPE_MAJOR, 128)), "\\Device\\Tape0"},
{"/dev/nst1", BRACK(FHDEV(DEV_TAPE_MAJOR, 129)), "\\Device\\Tape1"},