THRIFT-1124 go compiler does now mkdir without mask

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086838 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Roger Meier 2011-03-30 04:52:50 +00:00
parent ff20fa11e0
commit b7bc726486

View File

@ -318,7 +318,7 @@ void t_go_generator::init_generator() {
for (sv_iter = services.begin(); sv_iter != services.end(); ++sv_iter) {
string service_dir = package_dir_+"/"+(*sv_iter)->get_name();
mkdir(service_dir.c_str(), 0755);
mkdir(service_dir.c_str());
string f_init_name = service_dir+"/Makefile";
ofstream f_init;
f_init.open(f_init_name.c_str());