src/winsup/cygwin ChangeLog dir.cc environ.cc ...

corinna@sourceware.cygnus.com corinna@sourceware.cygnus.com
Thu Apr 12 14:21:00 GMT 2001


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sources.redhat.com	2001-04-12 14:21:37

Modified files:
	winsup/cygwin  : ChangeLog dir.cc environ.cc errno.cc 
	                 fhandler.cc path.cc path.h syscalls.cc 

Log message:
	* dir.cc (mkdir): Check for case clash.
	* environ.cc: Add extern declaration for `pcheck_case'.
	(check_case_init): New function.
	(struct parse_thing): Add "check_case" option.
	* errno.cc (_sys_nerrlist): Add text for ECASECLASH.
	(strerror): Add case branch for ECASECLASH.
	* fhandler.cc (fhandler_disk_file::open): Check for case clash.
	* path.cc: Add global variable `pcheck_case'.
	(struct symlink_info): Add member `case_clash' and method `case_check'.
	(path_prefix_p_): Call `pathnmatch' instead of `strncasematch'.
	(pathnmatch): New funtion.
	(pathmatch): Ditto.
	(path_conv::check): Add handling for case checking.
	(symlink): Check for case clash.
	(symlink_info::check): Add parameter for case checking.
	Handle case checking.
	(symlink_info::case_check): New method.
	(chdir): Don't use unconverted path if pcheck_case==PCHECK_STRICT.
	* path.h: Add extern declarations for `pathmatch' and
	`pathnmatch'.
	(enum case_checking): New enumeration type describing
	the case checking behaviour of path conversion routines.
	(class path_conv): Add member `case_clash'.
	* syscalls.cc (_link): Check for case clash.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.623&r2=1.624
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dir.cc.diff?cvsroot=src&r1=1.28&r2=1.29
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=src&r1=1.45&r2=1.46
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/errno.cc.diff?cvsroot=src&r1=1.19&r2=1.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.57&r2=1.58
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.116&r2=1.117
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.h.diff?cvsroot=src&r1=1.23&r2=1.24
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.102&r2=1.103



More information about the Cygwin-cvs mailing list