Skip site navigation (1) Skip section navigation (2)

Re: readline and openbsd

From: Hal Snyder <hal(at)vailsys(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: readline and openbsd
Date: 2000-10-26 18:07:50
Message-ID: 87lmvb8oi1.fsf@ghidra.vail (view raw or flat)
Thread:
Lists: pgsql-patches
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:

> Hal Snyder writes:
> 
> > I noticed a change in src/bin/psql/input.h dated 3 weeks ago.

> > It did not fix the problem that psql builds without command
> > history support on OpenBSD. Problem is that OpenBSD has history
> > support but no history.h file. Here's a patch:

> There needs to be some header file where the function is declared.
> Using undeclared functions doesn't work for people with C99
> compilers.

Right.

With the patch I submitted, psql compiled fine with gcc on several
recent releases of OpenBSD. It's great to get command history working.

But yes, there appears to be a glitch in the OpenBSD build such that
history.h is not installed into /usr/include/readline - will go after
that.

Thanks.


In response to

pgsql-patches by date

Next:From: Tom LaneDate: 2000-10-27 06:04:33
Subject: Re: Improved fix for sys_nerr
Previous:From: Peter EisentrautDate: 2000-10-26 14:59:20
Subject: Re: readline and openbsd

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group