Skip to content

Commit 8a17ed6

Browse files
committed
'extern char *pg_pathname' in these files fails to agree with
postgres.c's declaration of 'char pg_pathname[...]'. I dunno when these ports were last used, but they are sure broken now...
1 parent c4c8e81 commit 8a17ed6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/backend/port/dynloader/bsdi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifdef PRE_BSDI_2_1
1818
#include "postgres.h"
1919

20-
extern char *pg_pathname;
20+
extern char pg_pathname[];
2121

2222
void *
2323
pg_dlopen(char *filename)

src/backend/port/dynloader/linux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.15 1999/07/17 20:17:31 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/linux.c,v 1.16 1999/10/25 02:31:47 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -21,7 +21,7 @@
2121
#endif
2222

2323
#ifdef NOT_USED
24-
extern char *pg_pathname;
24+
extern char pg_pathname[];
2525

2626
void *
2727
pg_dlopen(char *filename)

src/backend/port/dynloader/ultrix4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.9 1999/07/17 20:17:31 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/port/dynloader/ultrix4.c,v 1.10 1999/10/25 02:31:47 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -19,7 +19,7 @@
1919
#include "port-protos.h"
2020
#include "utils/dynamic_loader.h"
2121

22-
extern char *pg_pathname;
22+
extern char pg_pathname[];
2323

2424
void *
2525
pg_dlopen(char *filename)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy