From 54e344b7e3623e807b893b7febad3adfc6c1648f Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sun, 24 Apr 2005 19:37:17 +0000 Subject: 1. setting up of SITECING_PATH_INFO environment variable 2. bumped up kingate version requirement 3. fixed a bug in component build process --- (limited to 'lib') diff --git a/lib/component_factory.cc b/lib/component_factory.cc index b5e95af..d9692de 100644 --- a/lib/component_factory.cc +++ b/lib/component_factory.cc @@ -92,7 +92,7 @@ namespace sitecing { deps.push_back(root_intermediate+nos+".cc"); config_options *co_cpp_deps = config.lookup_config(noro,config_options::flag_cpp_deps); if( (!co_cpp_deps) || co_cpp_deps->cpp_deps) { - ifstream df((root_intermediate+noro+".d").c_str(),ios::in); + ifstream df((root_intermediate+nos+".d").c_str(),ios::in); if(df.good()) { string str; while(!df.eof()) { diff --git a/lib/file_factory.cc b/lib/file_factory.cc index 7ca7b86..c22fac2 100644 --- a/lib/file_factory.cc +++ b/lib/file_factory.cc @@ -18,7 +18,7 @@ namespace sitecing { struct stat stdst; if(stat(dst.c_str(),&stdst)) return false; - for(file_list_t::const_iterator i=fl->begin();i!=fl->end();i++) { + for(file_list_t::const_iterator i=fl->begin();i!=fl->end();++i) { struct stat stdep; if(stat(i->c_str(),&stdep)) return false; -- cgit v0.9.0.2