* path.cc (symlink_check_one): Recognize symlink settings from the mount table.
* path.h: Make PATH_SYMLINK an alias for MOUNT_SYMLINK. * syscalls.cc (stat_worker): Use extension search mechanism in path_conv to look for .exe rather than trying to special case it here. * mount.h: Make MOUNT_SYMLINK a real option.
This commit is contained in:
@ -28,7 +28,7 @@ enum symlink_follow
|
||||
enum
|
||||
{
|
||||
PATH_NOTHING = 0,
|
||||
PATH_SYMLINK = 1,
|
||||
PATH_SYMLINK = MOUNT_SYMLINK,
|
||||
PATH_BINARY = MOUNT_BINARY,
|
||||
PATH_EXEC = MOUNT_EXEC,
|
||||
PATH_SOCKET = 0x40000000,
|
||||
|
Reference in New Issue
Block a user