From 5b4a08896bd6ee7d93f74c77f61d3518deda8fd5 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 19 Jan 2007 16:42:24 +0000 Subject: Change the sed rules in the regression test for pg_regress hackery to create the generated files, to help Visual C++ to run these tests. The tests still pass in VPATH and normal builds. Patch from Magnus Hagander, editorialized by me. --- src/include/port.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/port.h b/src/include/port.h index 305fe7c3c9..3056042660 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/port.h,v 1.108 2007/01/11 02:39:52 momjian Exp $ + * $PostgreSQL: pgsql/src/include/port.h,v 1.109 2007/01/19 16:42:24 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -46,6 +46,10 @@ extern void get_man_path(const char *my_exec_path, char *ret_path); extern bool get_home_path(char *ret_path); extern void get_parent_directory(char *path); +/* port/dirmod.c */ +extern char **pgfnames(char *path); +extern void pgfnames_cleanup(char **filenames); + /* * is_absolute_path * -- cgit v1.2.3