Skip to content

Commit

Permalink
version 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
evmar committed May 20, 2013
2 parents 4956108 + 5a2b257 commit 22f60e9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/line_printer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ using namespace std;

/// Prints lines of text, possibly overprinting previously printed lines
/// if the terminal supports it.
class LinePrinter {
public:
struct LinePrinter {
LinePrinter();

bool is_smart_terminal() const { return smart_terminal_; }
Expand Down
6 changes: 6 additions & 0 deletions src/msvc_helper_main-win32.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#include "msvc_helper.h"

#include <fcntl.h>
#include <io.h>
#include <stdio.h>
#include <windows.h>

Expand Down Expand Up @@ -123,6 +125,10 @@ int MSVCHelperMain(int argc, char** argv) {
output = parser.Parse(output);
WriteDepFileOrDie(output_filename, parser);
}

// CLWrapper's output already as \r\n line endings, make sure the C runtime
// doesn't expand this to \r\r\n.
_setmode(_fileno(stdout), _O_BINARY);
printf("%s", output.c_str());

return exit_code;
Expand Down
3 changes: 1 addition & 2 deletions src/ninja_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ string StringPrintf(const char* format, ...) {
}

/// A test result printer that's less wordy than gtest's default.
class LaconicPrinter : public testing::EmptyTestEventListener {
public:
struct LaconicPrinter : public testing::EmptyTestEventListener {
LaconicPrinter() : tests_started_(0), test_count_(0), iteration_(0) {}
virtual void OnTestProgramStart(const testing::UnitTest& unit_test) {
test_count_ = unit_test.test_to_run_count();
Expand Down
2 changes: 1 addition & 1 deletion src/version.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include "util.h"

const char* kNinjaVersion = "1.3.2";
const char* kNinjaVersion = "1.3.3";

void ParseVersion(const string& version, int* major, int* minor) {
size_t end = version.find('.');
Expand Down

0 comments on commit 22f60e9

Please sign in to comment.