Suggestion for dynloader.c

Started by Dann Corbitover 21 years ago3 messages
#1Dann Corbit
DCorbit@connx.com

Include prototypes at the top of the file:

extern char *dlerror(void);
extern int dlclose(void *);
extern void *dlsym(void *, const char *);
extern void *dlopen(const char *, int);

#2Dann Corbit
DCorbit@connx.com
In reply to: Dann Corbit (#1)
Re: Suggestion for dynloader.c

Include the file:
src\backend\port\dynloader\win32.h
in dynloader.c

Possibly with #ifdef for OS type, if that is needed.

-----Original Message-----
From: pgsql-hackers-owner@postgresql.org
[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Dann Corbit
Sent: Wednesday, September 01, 2004 1:10 PM
To: PostgreSQL-development
Subject: [HACKERS] Suggestion for dynloader.c

Include prototypes at the top of the file:

extern char *dlerror(void);
extern int dlclose(void *);
extern void *dlsym(void *, const char *);
extern void *dlopen(const char *, int);

#3Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Dann Corbit (#2)
Re: Suggestion for dynloader.c

You are going to have to give us more information than that? Why do it?
Do what exactly? Patch?

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

Dann Corbit wrote:

Include the file:
src\backend\port\dynloader\win32.h
in dynloader.c

Possibly with #ifdef for OS type, if that is needed.

-----Original Message-----
From: pgsql-hackers-owner@postgresql.org
[mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of Dann Corbit
Sent: Wednesday, September 01, 2004 1:10 PM
To: PostgreSQL-development
Subject: [HACKERS] Suggestion for dynloader.c

Include prototypes at the top of the file:

extern char *dlerror(void);
extern int dlclose(void *);
extern void *dlsym(void *, const char *);
extern void *dlopen(const char *, int);

-- 
  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, Pennsylvania 19073