diff options
author | josh.macdonald <jmacd@users.noreply.github.com> | 2007-03-24 13:36:45 +0000 |
---|---|---|
committer | josh.macdonald <jmacd@users.noreply.github.com> | 2007-03-24 13:36:45 +0000 |
commit | 4eafeb23fc939ddf0b127831281f73010aa87e85 (patch) | |
tree | ea57692ae197ae09cbfff8e29dd7edd85fad5740 /xdelta3 | |
parent | bf7c199b648e36be3cc68410d1f572ffbe2007d1 (diff) |
Do not buffer stderr on Windows.
Diffstat (limited to 'xdelta3')
-rw-r--r-- | xdelta3/xdelta3-main.h | 1 |
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); |