]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 1 Dec 2009 16:31:04 +0000 (16:31 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 1 Dec 2009 16:31:04 +0000 (16:31 +0000)
directory and siblings as nohandle fhandler.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_registry.cc

index effa8386b60c61da4eded20eb8547869e58202fb..4be550ce55a261a48c6641bb7bbf3e47bb24319d 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-01  Corinna Vinschen  <corinna@vinschen.de>
+
+       * fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
+       directory and siblings as nohandle fhandler.
+
 2009-11-30  Christopher Faylor  <me+cygwin@cgf.cx>
 
        * speclib: Use last dll found since that's the real name of the cygwin
index 904184e6358e2bf177feea1471095fb066b0402a..bb0ea048cd6aeaead49a79f5b1e1f20a8ee48cb3 100644 (file)
@@ -664,6 +664,8 @@ fhandler_registry::open (int flags, mode_t mode)
       else
        {
          flags |= O_DIROPEN;
+         /* Marking as nohandle allows to call dup. */
+         nohandle (true);
          goto success;
        }
     }
This page took 0.03382 seconds and 5 git commands to generate.