| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3a43b0d commit 8b93fdd
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,7 +42,10 @@ int wmain(int argc, wchar_t *wargv[]) { | |||
| 42 | 42 | #else | |
| 43 | 43 | // UNIX | |
| 44 | 44 | int main(int argc, char *argv[]) { | |
| 45 | - setvbuf(stderr, NULL, _IOLBF, 1024); | ||
| 45 | + // Disable stdio buffering, it interacts poorly with printf() | ||
| 46 | + // calls elsewhere in the program (e.g., any logging from V8.) | ||
| 47 | + setvbuf(stdout, nullptr, _IONBF, 0); | ||
| 48 | + setvbuf(stderr, nullptr, _IONBF, 0); | ||
| 46 | 49 | return node::Start(argc, argv); | |
| 47 | 50 | } | |
| 48 | 51 | #endif | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,6 +15,7 @@ test-tick-processor : PASS,FLAKY | |||
| 15 | 15 | [$system==macos] | |
| 16 | 16 | ||
| 17 | 17 | [$system==solaris] # Also applies to SmartOS | |
| 18 | + test-debug-signal-cluster : PASS,FLAKY | ||
| 18 | 19 | ||
| 19 | 20 | [$system==freebsd] | |
| 20 | 21 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments