Re: [ODBC] MD5 support for ODBC

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [ODBC] MD5 support for ODBC
Дата
Msg-id Pine.LNX.4.30.0111121934470.640-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: [ODBC] MD5 support for ODBC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [ODBC] MD5 support for ODBC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian writes:

> ! all: check_md5 SUBSYS.o
> !
> ! check_md5:
> !       @cmp -s md5.c ../../interfaces/odbc/md5.c || \
> !       (echo "src/interfaces/odbc/md5.c doesn't match src/backend/libpq/md5.c" && \
> !        exit 1)

Nope, this doesn't work.  The source directory is not necessarily the
current directory.

I don't think it's particularly useful to put checks of static source
files in the build path.  There are quite a number of places that need to
be synchronized manually and there is no check anywhere.  It would
probably have been better to have one master copy of the file and symlink
it to whereever else it is needed.  (See libpq Makefile for several
examples.)

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ALTER TABLE RENAME fix
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Patch for Makefile race against current cvs