1. Andrew Dunstan
  2. pgdevel

Commits

Alvaro Herrera  committed 6eda3e9

isolationtester: Ensure stderr is unbuffered, too

  • Participants
  • Parent commits 527fdd9
  • Branches jsonbuild, master

Comments (0)

Files changed (1)

File src/test/isolation/isolationtester.c

View file
 		}
 	}
 
-	/* make stdout unbuffered to match stderr */
+	/*
+	 * Make stdout unbuffered to match stderr; and ensure stderr is unbuffered
+	 * too, which it should already be everywhere except sometimes in Windows.
+	 */
 	setbuf(stdout, NULL);
+	setbuf(stderr, NULL);
 
 	/*
 	 * If the user supplies a non-option parameter on the command line, use it