* path.cc (path_conv::check): Return with ENOTDIR if component is a
device.
This commit is contained in:
parent
b775136014
commit
d955b6cfd8
|
@ -1,3 +1,8 @@
|
||||||
|
2010-06-14 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* path.cc (path_conv::check): Return with ENOTDIR if component is a
|
||||||
|
device.
|
||||||
|
|
||||||
2010-06-14 Corinna Vinschen <corinna@vinschen.de>
|
2010-06-14 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.
|
* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.
|
||||||
|
|
|
@ -829,6 +829,11 @@ is_virtual_symlink:
|
||||||
|
|
||||||
if (sym.isdevice)
|
if (sym.isdevice)
|
||||||
{
|
{
|
||||||
|
if (component)
|
||||||
|
{
|
||||||
|
error = ENOTDIR;
|
||||||
|
return;
|
||||||
|
}
|
||||||
dev.parse (sym.major, sym.minor);
|
dev.parse (sym.major, sym.minor);
|
||||||
dev.setfs (1);
|
dev.setfs (1);
|
||||||
dev.mode = sym.mode;
|
dev.mode = sym.mode;
|
||||||
|
|
Loading…
Reference in New Issue