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

Commit3c93218

Browse files
committed
Fix copy-and-pasteo that's causing pg_regress to lie about which file it can't
read when the --temp-config argument is bad. Noted while wondering whybuildfarm member dungbeetle is failing ... this isn't why, but it is whythe error report isn't very helpful ...
1 parent9511304 commit3c93218

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/test/regress/pg_regress.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.45 2008/05/17 20:02:01 tgl Exp $
14+
* $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.46 2008/08/03 05:12:38 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -2079,7 +2079,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
20792079
extra_conf=fopen(temp_config,"r");
20802080
if (extra_conf==NULL)
20812081
{
2082-
fprintf(stderr,_("\n%s: could not open %s to read extra config:\nError was %s\n"),progname,buf,strerror(errno));
2082+
fprintf(stderr,_("\n%s: could not open %s to read extra config:\nError was %s\n"),progname,temp_config,strerror(errno));
20832083
exit_nicely(2);
20842084
}
20852085
while (fgets(line_buf,sizeof(line_buf),extra_conf)!=NULL)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp