Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit63d283e

Browse files
committed
Flush stderr and stdout in isolation tester.
This is a possibly vain attempt to fix a buffering issueobserved for some MSVC builds.
1 parent7d6b8f7 commit63d283e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/test/isolation/isolationtester.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ exit_nicely(void)
7070

7171
for (i=0;i<nconns;i++)
7272
PQfinish(conns[i]);
73+
fflush(stderr);
74+
fflush(stdout);
7375
exit(1);
7476
}
7577

@@ -283,6 +285,8 @@ main(int argc, char **argv)
283285
/* Clean up and exit */
284286
for (i=0;i<nconns;i++)
285287
PQfinish(conns[i]);
288+
fflush(stderr);
289+
fflush(stdout);
286290
return0;
287291
}
288292

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp