From 6f021e2bcce19e147aab1bade6c292756550a000 Mon Sep 17 00:00:00 2001 From: fredb <fredb> Date: Sun, 19 Oct 2008 16:26:52 +0000 Subject: [PATCH] Provide an explanation to why a special case is needed --- utils/TerraSync/terrasync.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/TerraSync/terrasync.cxx b/utils/TerraSync/terrasync.cxx index 70ebf87aa..314f55972 100644 --- a/utils/TerraSync/terrasync.cxx +++ b/utils/TerraSync/terrasync.cxx @@ -110,6 +110,9 @@ int mysvn_setup(void) { if (mysvn_pool) return EXIT_SUCCESS; // No, so initialize svn internals generally #ifdef _MSC_VER + // there is a segfault when providing an error stream. + // Apparently, calling setvbuf with a nul buffer is + // not supported under msvc 7.1 ( code inside svn_cmdline_init ) if (svn_cmdline_init("terrasync", 0) != EXIT_SUCCESS) return EXIT_FAILURE; #else