[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: small bug in IMP



* jogi hofmueller 

(I presume you don't read this list, so Cc-ing you)

| first of all: if this is not the correct list please tell me ... and i
| appologize ...

You should file this as a bug against imp, look at
http://www.debian.org/Bugs/ for information about how to file bugs.

| there is a small bug in IMP that is still distributed at least with the
| potato version. according to horde/imp bugtraq system the return value of
| the function imp_open_pg_db () in file /usr/share/horde/imp/lib/db.pgsql
| should be
| 
| 	return (($db = pg_pconnect($dbconnectstring))) ; 
|                           ^
| instead of
| 
| 	return (($db = pg_connect($dbconnectstring))) ;
| 
| would be nice if someone could fix it.

I presume that you are aware of the difference between pg_connect and
pg_pconnect?  The only difference is that pg_pconnect is a persistent
version of pg_connect.  Their return values are the same -- a database
connection handle or FALSE if no connection could be made.  Therefore,
I don't think this is a bug at all.

-- 
Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.



Reply to: