Skip to content

Commit 49459d8

Browse files
committed
This patch fixes one of two problems with grant/revoke statements on the
Linux platform. From: James Hughes <jamesh@interpath.com>
1 parent 7229513 commit 49459d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/utils/init/miscinit.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.8 1997/09/08 02:31:57 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.9 1998/01/25 04:07:00 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -226,7 +226,7 @@ GetProcessingMode()
226226
char *
227227
GetDatabasePath()
228228
{
229-
return DatabasePath;
229+
return strdup(DatabasePath);
230230
}
231231

232232
/*
@@ -236,7 +236,7 @@ GetDatabasePath()
236236
char *
237237
GetDatabaseName()
238238
{
239-
return DatabaseName;
239+
return strdup(DatabaseName);
240240
}
241241

242242
void

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