Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+3-3
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)