* fhandler_disk_file.cc (fhandler_disk_file::link): Only add .exe if
original file has .exe as well. * path.cc (path_conv::is_binary): Only recognize Windows 32 and 64 bit apps as binaries.
This commit is contained in:
@ -1153,6 +1153,8 @@ fhandler_disk_file::link (const char *newpath)
|
||||
}
|
||||
else if (!pc.isdir ()
|
||||
&& pc.is_binary ()
|
||||
&& RtlEqualUnicodePathSuffix (pc.get_nt_native_path (),
|
||||
L".exe", TRUE)
|
||||
&& !RtlEqualUnicodePathSuffix (newpc.get_nt_native_path (),
|
||||
L".exe", TRUE))
|
||||
{
|
||||
|
Reference in New Issue
Block a user