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]

rebase/imagehelper ChangeLog bindimage.cc chec ...


CVSROOT:	/sourceware/projects/cygwin-apps-home/cvsfiles
Module name:	rebase
Changes by:	corinna@sourceware.org	2011-06-21 09:35:21

Modified files:
	imagehelper    : ChangeLog bindimage.cc checkimage.cc 
	                 fiximage.cc getimageinfos.cc imagehelper.h 
	                 objectfile.cc objectfile.h rebaseimage.cc 

Log message:
	* bindimage.cc (BindImageEx): Constify string arguments.
	(BindImage): Ditto.
	* checkimage.cc (CheckImage): Ditto.
	* fiximage.cc (FixImage): Ditto.
	* getimageinfos.cc (GetImageInfos): Ditto.
	* imagehelper.h: Constify string arguments in declarations.
	* objectfile.cc (Win32Path): Rewrite to use and return the Win32 path
	as pointer to a static WCHAR buffer on all systems.  Simplify condition
	to use cygwin_conv_path on Cygwin, cygwin_conv_to_win32_path on msys.
	Use MultiByteToWideChar to create wide char pathname on non-Cygwin
	systems.
	(ObjectFile::ObjectFile): Constify string argument.  Store Win32 path
	in local variable and use in calls to CreateFile.  Replace calls to
	CreateFile with calls to CreateFileW.  Make basename a const char
	pointer.
	(LinkedObjectFile::LinkedObjectFile): Constify string argument.
	* objectfile.h (ObjectFile::ObjectFile): Ditto.
	(LinkedObjectFile::LinkedObjectFile): Ditto.
	* rebaseimage.cc (ReBaseImage): Ditto.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/ChangeLog.diff?cvsroot=cygwin-apps&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/bindimage.cc.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/checkimage.cc.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/fiximage.cc.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/getimageinfos.cc.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/imagehelper.h.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/objectfile.cc.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/objectfile.h.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/rebase/imagehelper/rebaseimage.cc.diff?cvsroot=cygwin-apps&r1=1.2&r2=1.3


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