Cygwin: remove path_conv::is_auto_device()
It is used only once, and the name is supposed to suggest "device that is not based on the filesystem". This intended meaning is clearer if we just replace is_auto_device() by its definition at the place where it's used.
This commit is contained in:
@ -1921,7 +1921,7 @@ symlink_worker (const char *oldpath, const char *newpath, bool isdevice)
|
||||
win32_newpath.get_nt_native_path (), wsym_type);
|
||||
|
||||
if ((!isdevice && win32_newpath.exists ())
|
||||
|| win32_newpath.is_auto_device ())
|
||||
|| (win32_newpath.isdevice () && !win32_newpath.is_fs_special ()))
|
||||
{
|
||||
set_errno (EEXIST);
|
||||
__leave;
|
||||
|
Reference in New Issue
Block a user