Re: pgwin32_open returning EINVAL

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: pgwin32_open returning EINVAL
Дата
Msg-id 20071221090512.GA3316@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: pgwin32_open returning EINVAL  ("Jaime Casanova" <systemguards@gmail.com>)
Список pgsql-hackers
On Fri, Dec 21, 2007 at 01:30:07AM -0500, Jaime Casanova wrote:
> On Dec 20, 2007 9:31 PM, Alvaro Herrera <alvherre@commandprompt.com> wrote:
> > Jaime Casanova escribió:
> >
> > > it doesn't compile on current head on mingw 5.1 and msys 1.0.10; of
> > > course, it doesn't compile on 8.2 neither in order to Alvaro's contact
> > > to test it
> >
> > I think this patch should fix it.  I think win32.mak needs to be
> > similarly patched.
> >
> >
> 
> ok. it's solved now. i added the lines in the patch and pgsleep.o in
> (circa line 34 in src/interfaces/libpq)
> 
> OBJS=    fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
>     fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
>     md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o \
>     $(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o
> strerror.o strlcpy.o win32error.o pgsleep.o, $(LIBOBJS))

That's the wrong place - it should be added for win32 only.

Proper patch committed. Sorry 'bout that one. *grumble*

//Magnus


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: function body actors (was: [PERFORM] viewing source code)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgwin32_open returning EINVAL