Re: pgwin32_open returning EINVAL

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Cc: "Magnus Hagander" <magnus(at)hagander(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Zeugswetter Andreas ADI SD" <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgwin32_open returning EINVAL
Date: 2007-12-21 06:30:07
Message-ID: c2d9e70e0712202230s410a3facu27712c897530c2be@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Dec 20, 2007 9:31 PM, Alvaro Herrera <alvherre(at)commandprompt(dot)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))

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2007-12-21 07:06:12 Re: function body actors (was: viewing source code)
Previous Message Tom Lane 2007-12-21 05:40:05 Re: function body actors (was: viewing source code)