diff options
author | temporal <temporal@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-07-31 01:43:34 +0000 |
---|---|---|
committer | temporal <temporal@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-07-31 01:43:34 +0000 |
commit | 8ccb79057ee477c36d155f2c507c859934f858dd (patch) | |
tree | 3f197fc8fa297b2c553d5862bf3ccfd140afe5f6 /src/google | |
parent | 24856db0e9c6a8c5d0866fae1eee31a6fbc374b2 (diff) | |
download | protobuf-8ccb79057ee477c36d155f2c507c859934f858dd.tar.gz protobuf-8ccb79057ee477c36d155f2c507c859934f858dd.tar.bz2 protobuf-8ccb79057ee477c36d155f2c507c859934f858dd.zip |
Apply Leandro Lucarella <llucax@gmail.com>'s patches for VIM highlighting
and not setting execute bit on protoc outputs.
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/compiler/command_line_interface.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/command_line_interface.cc b/src/google/protobuf/compiler/command_line_interface.cc index 6c2c9e8f..8f559f55 100644 --- a/src/google/protobuf/compiler/command_line_interface.cc +++ b/src/google/protobuf/compiler/command_line_interface.cc @@ -203,7 +203,7 @@ io::ZeroCopyOutputStream* CommandLineInterface::DiskOutputDirectory::Open( do { file_descriptor = open((root_ + filename).c_str(), - O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0777); + O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); } while (file_descriptor < 0 && errno == EINTR); if (file_descriptor < 0) { |