newlib/winsup/cygwin/include/sys
Corinna Vinschen e4b575030b Add case-sensitivity.
Unconditionally handle mount points case-sensitive.
	Unconditionally handle virtual paths case-sensitive.
	Unconditionally handle registry paths case-insensitive.
	Otherwise, accommodate case-sensitivity of given path throughout.
	* cygheap.cc (cygheap_root::set): Get additional caseinsensitive
	parameter and store it.
	* cygheap.h (struct cygheap_root_mount_info): Add member
	caseinsensitive.
	* dlfcn.cc (get_full_path_of_dll): Drop PC_NOFULL parameter from call
	to path_conv::check.
	* environ.cc (pcheck_case): Remove.
	(check_case_init): Remove.
	(known): Drop "check_case" option.
	* exceptions.cc (open_stackdumpfile): Add comment.
	* fhandler.cc (fhandler_base::get_default_fmode): Call pathmatch
	instead of strcasematch.
	* fhandler_disk_file.cc: Accommodate case-sensitivity of given path
	throughout.
	(__DIR_mounts::check_mount): Unconditionally check virtual paths
	case-sensitive.
	(fhandler_disk_file::link): Drop case clash handling.
	(fhandler_disk_file::open): Ditto.
	(fhandler_disk_file::readdir_helper): Drop managed mount code.
	* mount.cc: Remove managed mount code and datastructures.
	(struct opt): Remove "managed" option.  Add "posix=0" and "posix=1"
	options.
	(fillout_mntent): Remove "managed" output.  Add "posix" output.
	* path.cc (struct symlink_info): Remove case_clash member and
	case_check method.
	(pcheck_case): Remove.
	(path_prefix_p): Take additional bool parameter "caseinsensitive".
	(pathnmatch): Ditto.
	(pathmatch): Ditto.
	(mkrelpath): Ditto.
	(fs_info::update): Set caseinsensitive flag according to file system
	name and FILE_CASE_SENSITIVE_SEARCH flag.  Add comment.
	(tfx_chars_managed): Remove.
	(transform_chars): Drop "managed" parameter.  Always use tfx_chars.
	(get_nt_native_path): Drop "managed" parameter.  Make sure drive letters
	are always upper case.
	(getfileattr): Change second parameter to denote caseinsensitivity.
	(path_conv::check): Initialize caseinsensitive to OBJ_CASE_INSENSITIVE.
	Set caseinsensitive according to global obcaseinsensitive flag, file
	system case sensitivity and MOUNT_NOPOSIX mount flag.
	Drop case_clash and all the related code.
	(symlink_worker): Drop case clash handling.
	(symlink_info::set): Drop setting case_clash.
	(symlink_info::case_check): Remove.
	(cwdstuff::set): Add comment.
	(etc::init): Take path_conv instead of PUNICODE_STRING as parameter to
	allow case sensitivity.
	* path.h (enum pathconv_arg): Drop PC_SYM_IGNORE.
	(enum case_checking): Remove.
	(enum path_types): Drop PATH_ENC, add PATH_NOPOSIX flag.
	(struct fs_info): Add caseinsensitive flag and accessor methods.
	(class path_conv): Add caseinsensitive member and define
	objcaseinsensitive method.  Drop case_clash member and isencoded method.
	(pathmatch): Change prototype according to above change.
	(pathnmatch): Ditto.
	(path_prefix_p): Ditto.
	(get_nt_native_path): Ditto.
	(class etc): Ditto.
	(fnunmunge): Remove prototype.
	* shared.cc (shared_info::init_obcaseinsensitive): Initialize
	obcaseinsensitive flag from obcaseinsensitive registry value.
	(shared_info::initialize): Call init_obcaseinsensitive here by the
	first process creating the shared memory.
	* shared_info.h (mount_item::fnmunge): Remove.
	(shared_info::obcaseinsensitive): Rename from obcaseinsensitivity.
	(shared_info::init_obcaseinsensitive): Declare.
	* syscalls.cc (try_to_bin): Add comment.
	* include/sys/mount.h (MOUNT_ENC): Remove flag.
	(MOUNT_NOPOSIX): Add flag.
2008-07-16 20:20:45 +00:00
..
acl.h
copying.dj white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
cygwin.h * Fix copyright dates. 2008-04-01 13:22:47 +00:00
dirent.h * dcrt0.cc (initial_env): Use PATH_MAX instead of CYG_MAX_PATH for path 2007-12-06 18:24:06 +00:00
elf32.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
elf64.h * include/sys/elf64.h: Fix types to reflect linux usage. 2005-11-14 20:34:33 +00:00
elf_common.h white space 2005-08-12 02:39:13 +00:00
elf_generic.h * include/sys/cdefs.h (__CONCAT): Define. 2005-08-08 15:00:39 +00:00
file.h * Makefile.in: (DLL_OFILES): Add flock.o. 2003-11-29 23:00:51 +00:00
ioctl.h * include/sys/ioctl.h: Pick up termios.h, for TIOCGWINSZ. 2006-12-06 14:08:08 +00:00
ipc.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
kd.h * fhandler.h (class dev_console): Add `metabit' indicating the 2006-07-03 15:29:10 +00:00
lock.h white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
mman.h * cygwin.din (shm_open): Export. 2007-02-08 13:36:53 +00:00
mount.h Add case-sensitivity. 2008-07-16 20:20:45 +00:00
msg.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
mtio.h
param.h * include/sys/param.h (MAXPATHLEN): Define as PATH_MAX. 2007-10-18 10:42:43 +00:00
poll.h * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problem 2006-07-31 14:27:56 +00:00
procfs.h
queue.h * Makefile.in (DLL_OFILES): Add xsique.o. 2007-06-12 15:24:46 +00:00
resource.h * cygwin.din: Export getpriority and setpriority. 2005-01-25 22:45:11 +00:00
select.h * cygwin.din (pselect): Export. 2005-04-19 08:32:59 +00:00
sem.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
shm.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
smallprint.h
socket.h 2006-07-25 Corinna Vinschen <corinna@vinschen.de> 2006-07-25 19:23:23 +00:00
soundcard.h
statfs.h
statvfs.h * include/sys/statvfs.h (ST_RDONLY): Define. 2005-02-23 16:27:54 +00:00
stdio.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
strace.h *** cygwin DLL Changes: 2005-12-29 20:46:34 +00:00
syslimits.h * fhandler.cc (check_posix_perm): Moved here from syscalls.cc. 2006-11-07 17:59:54 +00:00
syslog.h * Makefile.in (DLL_OFILES): Add fhandler_mailslot.o. 2005-05-10 20:56:07 +00:00
sysmacros.h
sysproto.h * cygserver.h (client_request::request_code_t): Add 2003-11-19 18:50:23 +00:00
termio.h
termios.h * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty. 2007-02-07 17:22:40 +00:00
ttychars.h
uio.h * miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length 2002-08-30 15:47:10 +00:00
un.h * include/cygwin/in.h: Drop including stdint.h. Move definition 2005-12-31 13:07:43 +00:00
utime.h white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
utmp.h white space and minor comment cleanup. 2005-05-02 03:50:11 +00:00
utsname.h
vfs.h
wait.h * include/sys/wait.h: Move definition of wait constants from here... 2006-06-12 14:25:05 +00:00