* path.cc (path_conv::check): Return with ENOTDIR if component is a
device.
This commit is contained in:
		@@ -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>
 | 
			
		||||
 | 
			
		||||
	* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.
 | 
			
		||||
 
 | 
			
		||||
@@ -829,6 +829,11 @@ is_virtual_symlink:
 | 
			
		||||
 | 
			
		||||
	  if (sym.isdevice)
 | 
			
		||||
	    {
 | 
			
		||||
	      if (component)
 | 
			
		||||
		{
 | 
			
		||||
		  error = ENOTDIR;
 | 
			
		||||
		  return;
 | 
			
		||||
		}
 | 
			
		||||
	      dev.parse (sym.major, sym.minor);
 | 
			
		||||
	      dev.setfs (1);
 | 
			
		||||
	      dev.mode = sym.mode;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user