mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Fix library_path with canonicalization.
This commit is contained in:
parent
66d56a8efe
commit
298e58cbc4
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.74 2004/06/10 22:26:19 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/fmgr/dfmgr.c,v 1.75 2004/07/12 02:22:49 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -405,6 +405,7 @@ find_in_dynamic_libpath(const char *basename)
|
|||||||
strncpy(piece, p, len);
|
strncpy(piece, p, len);
|
||||||
piece[len] = '\0';
|
piece[len] = '\0';
|
||||||
|
|
||||||
|
canonicalize_path(piece);
|
||||||
mangled = substitute_libpath_macro(piece);
|
mangled = substitute_libpath_macro(piece);
|
||||||
pfree(piece);
|
pfree(piece);
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.218 2004/07/12 00:09:07 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.219 2004/07/12 02:22:51 momjian Exp $
|
||||||
*
|
*
|
||||||
*--------------------------------------------------------------------
|
*--------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1471,7 +1471,7 @@ static struct config_string ConfigureNamesString[] =
|
|||||||
"the specified file.")
|
"the specified file.")
|
||||||
},
|
},
|
||||||
&Dynamic_library_path,
|
&Dynamic_library_path,
|
||||||
"$libdir", assign_canonical_path, NULL
|
"$libdir", NULL, NULL
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user