* dtable.cc (build_fh_pc): When creating an archetype, use native name rather

than unix name if name doesn't exist.
This commit is contained in:
Christopher Faylor 2013-12-01 02:09:22 +00:00
parent a534dfd26e
commit 483c843a6a
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-11-30 Christopher Faylor <me.cygwin2013@cgf.cx>
* 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 <me.cygwin2013@cgf.cx> 2013-11-29 Christopher Faylor <me.cygwin2013@cgf.cx>
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27. * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 27.

View File

@ -641,7 +641,7 @@ build_fh_pc (path_conv& pc)
else else
{ {
if (!fh->get_name ()) if (!fh->get_name ())
fh->set_name (fh->dev ().name); fh->set_name (fh->dev ().native);
fh->archetype = fh->clone (); 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 ()); 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; fh->archetype->archetype = NULL;

View File

@ -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