Win32 regression fix

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Win32 regression fix
Дата
Msg-id 200403030422.i234MNs25640@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-patches
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' \

В списке pgsql-patches по дате отправления:

Предыдущее
От: John Gray
Дата:
Сообщение: Updated version of contrib/xml (at last)
Следующее
От: Fabien COELHO
Дата:
Сообщение: Notice about costly ri checks