@@ -489,7 +489,7 @@ convert_sourcefiles_in(const char *source_subdir, const char *dest_dir, const ch
489
489
/* Error logged in pgfnames */
490
490
exit (2 );
491
491
492
- snprintf (testtablespace , MAXPGPATH , "%s/testtablespace" , make_absolute_path ( outputdir ) );
492
+ snprintf (testtablespace , MAXPGPATH , "%s/testtablespace" , outputdir );
493
493
494
494
#ifdef WIN32
495
495
@@ -553,10 +553,10 @@ convert_sourcefiles_in(const char *source_subdir, const char *dest_dir, const ch
553
553
}
554
554
while (fgets (line , sizeof (line ), infile ))
555
555
{
556
- replace_string (line , "@abs_srcdir@" , make_absolute_path ( inputdir ) );
557
- replace_string (line , "@abs_builddir@" , make_absolute_path ( outputdir ) );
556
+ replace_string (line , "@abs_srcdir@" , inputdir );
557
+ replace_string (line , "@abs_builddir@" , outputdir );
558
558
replace_string (line , "@testtablespace@" , testtablespace );
559
- replace_string (line , "@libdir@" , make_absolute_path ( dlpath ) );
559
+ replace_string (line , "@libdir@" , dlpath );
560
560
replace_string (line , "@DLSUFFIX@" , DLSUFFIX );
561
561
fputs (line , outfile );
562
562
}
@@ -2239,6 +2239,10 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2239
2239
*/
2240
2240
port = 0xC000 | (PG_VERSION_NUM & 0x3FFF );
2241
2241
2242
+ inputdir = make_absolute_path (inputdir );
2243
+ outputdir = make_absolute_path (outputdir );
2244
+ dlpath = make_absolute_path (dlpath );
2245
+
2242
2246
/*
2243
2247
* Initialization
2244
2248
*/
@@ -2584,7 +2588,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2584
2588
printf (_ ("The differences that caused some tests to fail can be viewed in the\n"
2585
2589
"file \"%s\". A copy of the test summary that you see\n"
2586
2590
"above is saved in the file \"%s\".\n\n" ),
2587
- make_absolute_path ( difffilename ), make_absolute_path ( logfilename ) );
2591
+ difffilename , logfilename );
2588
2592
}
2589
2593
else
2590
2594
{
0 commit comments