* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
directory and siblings as nohandle fhandler.
This commit is contained in:
parent
cfdd76f143
commit
b4a3a3e367
|
@ -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>
|
2009-11-30 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* speclib: Use last dll found since that's the real name of the cygwin
|
* speclib: Use last dll found since that's the real name of the cygwin
|
||||||
|
|
|
@ -664,6 +664,8 @@ fhandler_registry::open (int flags, mode_t mode)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
flags |= O_DIROPEN;
|
flags |= O_DIROPEN;
|
||||||
|
/* Marking as nohandle allows to call dup. */
|
||||||
|
nohandle (true);
|
||||||
goto success;
|
goto success;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue