From 6e604fb15d9c0c05ab86b5a3135b4474bd52f807 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 19 Sep 2000 03:22:45 +0000 Subject: * path.h: Create new input path flag PATH_NEEDDIR. * path.cc (path::check): Detect trailing slash before converting to windows path. Tell symlink_info::check to check for directory if one is found. (symlink_info::check): Set errno when path is not a directory if pflags & PATH_NEEDDIR. --- winsup/cygwin/path.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 4c7f2c0..fdfbfdb 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -36,6 +36,7 @@ enum path_types PATH_BINARY = MOUNT_BINARY, PATH_EXEC = MOUNT_EXEC, PATH_CYGWIN_EXEC = MOUNT_CYGWIN_EXEC, + PATH_NEEDDIR = 0x20000000, PATH_SOCKET = 0x40000000, PATH_HASACLS = 0x80000000 }; -- cgit v1.1