setup ChangeLog String++.cc String++.h cygpack ...

maxb@sourceware.org maxb@sourceware.org
Thu May 5 22:35:00 GMT 2005


CVSROOT:	/cvs/cygwin-apps
Module name:	setup
Changes by:	maxb@sourceware.org	2005-05-05 22:35:39

Modified files:
	.              : ChangeLog String++.cc String++.h cygpackage.h 
	                 filemanip.cc filemanip.h io_stream_cygfile.cc 
	                 site.cc 

Log message:
	2005-05-05  Max Bowsher  <maxb@ukf.net>
	
	Some String++ refactoring, setting out in the general direction of
	eventually just using the STL std::string, not our own class.
	
	* String++.cc (String::cstr, String::cstr () const): Remove.
	(new_cstr_char_array): New function.
	* String++.h: Sync with above.
	Remove irrelevant "class io_stream;" declaration.
	
	* cygpackage.h: Add "class io_stream;" declaration, now no longer
	being supplied by side-effect.
	
	* filemanip.cc: Remove unneeded includes, add "using namespace std;".
	(parse_filename): Exchange some awkward pointer manipulation for
	std::string usage. Use new_cstr_char_array ().
	* filemanip.h: Sync with above.
	(fileparse): Improve style of declaration.
	
	* io_stream_cygfile.cc (io_stream_cygfile::normalise):
	Use new_cstr_char_array ().
	* site.cc (site_list_type::init, get_site_list): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.490&r2=2.491
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/String++.cc.diff?cvsroot=cygwin-apps&r1=2.14&r2=2.15
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/String++.h.diff?cvsroot=cygwin-apps&r1=2.18&r2=2.19
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/cygpackage.h.diff?cvsroot=cygwin-apps&r1=2.13&r2=2.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.cc.diff?cvsroot=cygwin-apps&r1=2.13&r2=2.14
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/filemanip.h.diff?cvsroot=cygwin-apps&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/io_stream_cygfile.cc.diff?cvsroot=cygwin-apps&r1=2.19&r2=2.20
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/site.cc.diff?cvsroot=cygwin-apps&r1=2.35&r2=2.36



More information about the Cygwin-apps-cvs mailing list