Commit 49459d85 authored by Marc G. Fournier's avatar Marc G. Fournier

This patch fixes one of two problems with grant/revoke statements on the

Linux platform.

From: James Hughes <jamesh@interpath.com>
parent 72295139
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.8 1997/09/08 02:31:57 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/init/miscinit.c,v 1.9 1998/01/25 04:07:00 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -226,7 +226,7 @@ GetProcessingMode() ...@@ -226,7 +226,7 @@ GetProcessingMode()
char * char *
GetDatabasePath() GetDatabasePath()
{ {
return DatabasePath; return strdup(DatabasePath);
} }
/* /*
...@@ -236,7 +236,7 @@ GetDatabasePath() ...@@ -236,7 +236,7 @@ GetDatabasePath()
char * char *
GetDatabaseName() GetDatabaseName()
{ {
return DatabaseName; return strdup(DatabaseName);
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment