From 483c843a6a67780f4072726c40c51f11b08cb55f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 1 Dec 2013 02:09:22 +0000 Subject: [PATCH] * dtable.cc (build_fh_pc): When creating an archetype, use native name rather than unix name if name doesn't exist. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/dtable.cc | 2 +- winsup/cygwin/release/1.7.27 | 6 ++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 winsup/cygwin/release/1.7.27 diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 01ec78eea..e4fda53ac 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2013-11-30 Christopher Faylor + + * dtable.cc (build_fh_pc): When creating an archetype, use native name + rather than unix name if name doesn't exist. + 2013-11-29 Christopher Faylor * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27. diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 824bc84c1..7cf52c4bc 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -641,7 +641,7 @@ build_fh_pc (path_conv& pc) else { if (!fh->get_name ()) - fh->set_name (fh->dev ().name); + fh->set_name (fh->dev ().native); fh->archetype = fh->clone (); debug_printf ("created an archetype (%p) for %s(%d/%d)", fh->archetype, fh->get_name (), fh->dev ().get_major (), fh->dev ().get_minor ()); fh->archetype->archetype = NULL; diff --git a/winsup/cygwin/release/1.7.27 b/winsup/cygwin/release/1.7.27 new file mode 100644 index 000000000..a0388d02b --- /dev/null +++ b/winsup/cygwin/release/1.7.27 @@ -0,0 +1,6 @@ +What's new: +----------- + +- Some devices, like, /dev/dsp are no longer detected due to the new + use of \Device\Null for devices which have no real handle. + Fixes: http://cygwin.com/ml/cygwin/2013-12/threads.html#00000