zookeeper and allefant liked a different naming convention...

...for the special files, and I'm OK with it.
This commit is contained in:
Eric S. Raymond 2007-05-15 16:41:20 +00:00
parent 485f397760
commit d5581d1fdf

View file

@ -345,8 +345,9 @@ static bool ends_with(const std::string& str, const std::string& suffix)
return str.size() >= suffix.size() && std::equal(suffix.begin(),suffix.end(),str.end()-suffix.size());
}
#define MAINCFG "%main.cfg"
#define FINALCFG "%final.cfg"
// These are the filenames that get special processing
#define MAINCFG "_main.cfg"
#define FINALCFG "_final.cfg"
void get_files_in_dir(const std::string& directory,
std::vector<std::string>* files,