Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-05-22 21:37:40 +0400
committerCorinna Vinschen <corinna@vinschen.de>2012-05-22 21:37:40 +0400
commit73447abbb6b02a5b64938e20519594cd4de4c994 (patch)
tree201ca9ad1eac757034c225358d61eac58f1f71d5 /winsup/cygwin/dtable.cc
parent601431090344d2db08f9f19b30a8affb05a7ce0c (diff)
* devices.in: Fix native name of /dev/kmem.
* devices.cc: Regenerate. * dtable.cc (fh_alloc): Don't forget FH_KMEM. * fhandler_mem.cc (fhandler_dev_mem::open): Set errno to EACCES rather than ENOENT on systems not granting access to physical memory from user space.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 1cd1f6b48..fc3a502f9 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -530,6 +530,7 @@ fh_alloc (path_conv& pc)
fh = cnew (fhandler_dev_random);
break;
case FH_MEM:
+ case FH_KMEM:
case FH_PORT:
fh = cnew (fhandler_dev_mem);
break;