src/winsup/cygwin ChangeLog Makefile.in autolo ...

corinna@sourceware.cygnus.com corinna@sourceware.cygnus.com
Wed Feb 21 13:49:00 GMT 2001


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sources.redhat.com	2001-02-21 13:49:38

Modified files:
	winsup/cygwin  : ChangeLog Makefile.in autoload.cc dir.cc 
	                 fhandler.cc path.cc security.cc spawn.cc 
	                 syscalls.cc 

Log message:
	* Makefile.in: Add `-lshell32 -luuid' to link pass for new-cygwin1.dll.
	* autoload.cc: Add LoadDLLinitfunc for ole32.dll.
	Add LoadDLLfuncEx statements for CoInitialize@4, CoUninitialize@0
	and CoCreateInstance@20.
	* dir.cc (dir_suffixes): New datastructure.
	(readdir): Check for R/O *.lnk files to hide the suffix.
	(opendir): Use `dir_suffixes' in path conversion.
	(rmdir): Ditto.
	* fhandler.cc (fhandler_disk_file::fstat): Add S_IFLNK flag
	before calling `get_file_attribute'. Take FILE_ATTRIBUTE_READONLY
	into account only if the file is no symlink.
	* path.cc (inner_suffixes): New datastructure.
	(SYMLINKATTR): Eliminated.
	(path_conv::check): Use `inner_suffixes' on inner path components.
	(shortcut_header): New global static variable.
	(shortcut_initalized): Ditto.
	(create_shortcut_header): New function.
	(cmp_shortcut_header): Ditto.
	(symlink): Create symlinks by creating windows shortcuts. Preserve
	the old code.
	(symlink_info::check_shortcut): New method.
	(symlink_info::check_sysfile): Ditto.
	(symlink_info::check): Check for shortcuts. Move code reading
	old system attribute symlinks into symlink_info::check_sysfile().
	(chdir): Use `dir_suffixes' in path conversion.
	* security.cc (get_file_attribute): Check for S_IFLNK flag.
	Force 0777 permissions then.
	* spawn.cc (std_suffixes): Add ".lnk" suffix.
	* syscalls.cc (_unlink): Use `inner_suffixes' in path conversion.
	Check for shortcut symlinks to eliminate R/O attribute before
	calling DeleteFile().
	(stat_suffixes): Add ".lnk" suffix.
	(stat_worker): Force 0777 permissions if file is a symlink.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.531&r2=1.532
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/Makefile.in.diff?cvsroot=src&r1=1.48&r2=1.49
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=src&r1=1.9&r2=1.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dir.cc.diff?cvsroot=src&r1=1.21&r2=1.22
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.49&r2=1.50
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.96&r2=1.97
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.33&r2=1.34
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=src&r1=1.66&r2=1.67
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.83&r2=1.84



More information about the Cygwin-cvs mailing list