Content-Length: 292513 | pFad | http://github.com/postgrespro/postgres/commit/bd09111f1f52e3739a24b88a4671f7a4b0ed4c1d

BD pg_regress: Replace exit_nicely() with exit() plus atexit() hook · postgrespro/postgres@bd09111 · GitHub
Skip to content

Commit bd09111

Browse files
committed
pg_regress: Replace exit_nicely() with exit() plus atexit() hook
1 parent ac7a5a3 commit bd09111

File tree

4 files changed

+50
-60
lines changed

4 files changed

+50
-60
lines changed

src/interfaces/ecpg/test/pg_regress_ecpg.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ ecpg_filter(const char *sourcefile, const char *outfile)
3434
if (!s)
3535
{
3636
fprintf(stderr, "Could not open file %s for reading\n", sourcefile);
37-
exit_nicely(2);
37+
exit(2);
3838
}
3939
t = fopen(outfile, "w");
4040
if (!t)
4141
{
4242
fprintf(stderr, "Could not open file %s for writing\n", outfile);
43-
exit_nicely(2);
43+
exit(2);
4444
}
4545

4646
while (fgets(linebuf, LINEBUFSIZE, s))
@@ -148,7 +148,7 @@ ecpg_start_test(const char *testname,
148148
{
149149
fprintf(stderr, _("could not start process for test %s\n"),
150150
testname);
151-
exit_nicely(2);
151+
exit(2);
152152
}
153153

154154
free(outfile_stdout);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/bd09111f1f52e3739a24b88a4671f7a4b0ed4c1d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy