Thread: win32 broke unix

win32 broke unix

From
Patrick Welche
Date:
Using yesterday's cvs code, I find I can no longer link to libpq as
is_absolute_path is undefined. is_absolute_path appears in fe-connect.c
version 1.231. I assume that is_absolute_path is a #define somewhere, but
I can't put my finger on it to fix... This is on NetBSD-1.6Q/i386 (reverting
to 1.230 works for me)

Cheers,

Patrick



Re: win32 broke unix

From
Tom Lane
Date:
Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> Using yesterday's cvs code, I find I can no longer link to libpq as
> is_absolute_path is undefined.

libpq's Makefile needs to know to handle path.c like it does for the
other src/port stuff it uses, eg strerror.c.
        regards, tom lane



Re: win32 broke unix

From
Bruce Momjian
Date:
OK, patch applied.  Thanks.

---------------------------------------------------------------------------

Tom Lane wrote:
> Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> > Using yesterday's cvs code, I find I can no longer link to libpq as
> > is_absolute_path is undefined.
> 
> libpq's Makefile needs to know to handle path.c like it does for the
> other src/port stuff it uses, eg strerror.c.
> 
>             regards, tom lane
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
> http://archives.postgresql.org
> 

--  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,
Pennsylvania19073