summaryrefslogtreecommitdiff
path: root/xdelta3
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-03-24 13:36:45 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-03-24 13:36:45 +0000
commit4eafeb23fc939ddf0b127831281f73010aa87e85 (patch)
treeea57692ae197ae09cbfff8e29dd7edd85fad5740 /xdelta3
parentbf7c199b648e36be3cc68410d1f572ffbe2007d1 (diff)
Do not buffer stderr on Windows.
Diffstat (limited to 'xdelta3')
-rw-r--r--xdelta3/xdelta3-main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h
index 284f115..9723eb7 100644
--- a/xdelta3/xdelta3-main.h
+++ b/xdelta3/xdelta3-main.h
@@ -2919,6 +2919,7 @@ main (int argc, char **argv)
2919 2919
2920#ifdef _WIN32 2920#ifdef _WIN32
2921 GetStartupInfo(&winStartupInfo); 2921 GetStartupInfo(&winStartupInfo);
2922 setvbuf(stderr, NULL, _IONBF, 0); /* Do not buffer stderr */
2922#endif 2923#endif
2923 2924
2924 main_file_init (& ifile); 2925 main_file_init (& ifile);