Re: Problem while building SRPM PostgreSQL on Red Hat Linux

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: Devrim GUNDUZ <devrim(at)gunduz(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem while building SRPM PostgreSQL on Red Hat Linux
Date: 2003-04-13 03:47:16
Message-ID: 21614.1050205636@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joe Conway <mail(at)joeconway(dot)com> writes:
> hba.c:82: conflicting types for `isblank'
> /usr/include/ctype.h:128: previous declaration of `isblank'
> make[3]: *** [hba.o] Error 1

[ scratches head ... ] They have both a macro and an extern definition
of isblank? What is the latter exactly?

> Any reason not to apply the following?

I was worried about whether the platform's definition of isblank would
be exactly what we need or not. In particular, it has to accept \r and
reject \n or we've got problems --- *big* problems if it accepts \n.
AFAIK this function isn't standardized so there's no strong reason to
assume it will work in a particular way.

Mebbe the best answer is just to rename our function to pg_isblank...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2003-04-13 03:54:35 Re: Problem while building SRPM PostgreSQL on Red Hat Linux
Previous Message Joe Conway 2003-04-13 01:52:36 Re: Problem while building SRPM PostgreSQL on Red Hat Linux