Patch attached and applied. Thanks.
---------------------------------------------------------------------------
> Adds the -W flag to the pwd call under Win32. This allows directories,
> which are munged by sed, such as:
> /e/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data to be
> correctly passed as:
> e:/cygwin/opt/diff9c/pgsql/src/test/regress/data/agg.data
>
> FWIW, "fixes" a large (> 20) tests under Win32.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Index: src/test/regress/GNUmakefile
===================================================================
RCS file: /cvsroot/pgsql-server/src/test/regress/GNUmakefile,v
retrieving revision 1.45
diff -c -c -r1.45 GNUmakefile
*** src/test/regress/GNUmakefile 23 Dec 2003 21:56:21 -0000 1.45
--- src/test/regress/GNUmakefile 3 Mar 2004 04:20:11 -0000
***************
*** 73,80 ****
--- 73,86 ----
all: $(input_files) $(output_files)
+ ifneq ($(PORTNAME),win32)
abs_srcdir := $(shell cd $(srcdir) && pwd)
abs_builddir := $(shell pwd)
+ else
+ abs_srcdir := $(shell cd $(srcdir) && pwd -W)
+ abs_builddir := $(shell pwd -W)
+ endif
+
define sed-command
sed -e 's,@abs_srcdir@,$(abs_srcdir),g' \