This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

setup ChangeLog UserSettings.cc autoload.c des ...


CVSROOT:	/sourceware/projects/cygwin-apps-home/cvsfiles
Module name:	setup
Changes by:	corinna@sourceware.org	2009-05-11 10:49:15

Modified files:
	.              : ChangeLog UserSettings.cc autoload.c desktop.cc 
	                 filemanip.cc filemanip.h io_stream_cygfile.cc 
	                 io_stream_file.cc mkdir.cc postinstall.cc 
	                 res.rc win32.cc win32.h 
Added files:
	.              : ntdll.h 

Log message:
	* UserSettings.cc (UserSettings::settingFileForLoad): Fix local load
	path strings.
	(UserSettings::settingFileForSave): Never store in cwd.
	* autoload.c (ntdll): Autoload ntdll.dll functions here.
	* desktop.cc (make_cygwin_bat): Use GetFileAttributesW rather than
	_waccess.  Use nt_wfopen instead of _wfopen.
	(save_icon): Ditto.
	* filemanip.cc (get_file_size): Call io_stream::open with empty mode
	string to avoid opening file twice.
	(GetFileAttributesW): New function to replace Win32 function with
	equivalent function opening files with backup intent.
	(SetFileAttributesW): Ditto.
	(MoveFileW): Ditto.
	(DeleteFileW): Ditto.
	(RemoveDirectoryW): Ditto.
	(nt_wfopen): New function to replace _wfopen with equivalent function
	opening files with backup intent.
	* filemanip.h (nt_wfopen): Declare.
	* io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): Initalize
	lasterr to 0.  Allow empty mode and don't open file, if so.  Call
	nt_wfopen rather than _wfopen.
	(io_stream_cygfile::exists): Use GetFileAttributesW rather than
	_waccess.
	(io_stream_cygfile::get_size): Use CreateFileW/GetFileSize to get
	file size on NT.
	* io_stream_file.cc (io_stream_file::io_stream_file): Initalize lasterr
	to 0.  Allow empty mode and don't open file, if so.  Call nt_wfopen
	rather than _wfopen.
	(io_stream_file::exists): Use GetFileAttributesW rather than _waccess.
	(io_stream_file::remove): Don't try to remove non-existant file.
	(io_stream_file::get_size): Use CreateFileW/GetFileSize to get
	file size on NT.  Add comment to keep track of 2GB border.
	* mkdir.cc: Remove function pointers for ntdll functions.
	(init_ntfuncs): Remove function.
	(mkdir_p): Drop call to init_ntfuncs.  Call ntdll functions directly
	rather than over local function pointers.
	* ntdll.h: New file.
	* postinstall.cc (do_postinstall_reflector): Switch to admins group
	as primary group after postinstall scripts have been written.
	Explain why.
	(do_postinstall): Add comment.
	* res.rc: Bump copyright date.
	* win32.h (class TokenGroupCollection): Remove.
	* win32.cc (TokenGroupCollection::populate): Remove.
	(TokenGroupCollection::find): Remove.
	(NTSecurity::setDefaultSecurity): Drop reading token groups.  Just
	try to switch to admins group as primary group.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ntdll.h.diff?cvsroot=cygwin-apps&r1=NONE&r2=2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.619&r2=2.620
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/UserSettings.cc.diff?cvsroot=cygwin-apps&r1=2.11&r2=2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/autoload.c.diff?cvsroot=cygwin-apps&r1=2.7&r2=2.8
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/desktop.cc.diff?cvsroot=cygwin-apps&r1=2.50&r2=2.51
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/filemanip.cc.diff?cvsroot=cygwin-apps&r1=2.22&r2=2.23
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/filemanip.h.diff?cvsroot=cygwin-apps&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/io_stream_cygfile.cc.diff?cvsroot=cygwin-apps&r1=2.26&r2=2.27
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/io_stream_file.cc.diff?cvsroot=cygwin-apps&r1=2.23&r2=2.24
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/mkdir.cc.diff?cvsroot=cygwin-apps&r1=2.9&r2=2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/postinstall.cc.diff?cvsroot=cygwin-apps&r1=2.22&r2=2.23
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/res.rc.diff?cvsroot=cygwin-apps&r1=2.76&r2=2.77
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.cc.diff?cvsroot=cygwin-apps&r1=2.8&r2=2.9
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.h.diff?cvsroot=cygwin-apps&r1=2.19&r2=2.20


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]