Skip to content

Commit 5ee0a8d

Browse files
committed
canonicalization adjustments.
1 parent a4c71af commit 5ee0a8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.20 2004/07/12 19:15:07 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.21 2004/07/12 19:18:18 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -1309,7 +1309,7 @@ main(int argc, char **argv)
13091309
pg_data = getenv("PGDATA");
13101310
if (pg_data)
13111311
{
1312-
/* XXX modifies environment var in-place ... ugly ... */
1312+
pg_data = xstrdup(pg_data);
13131313
canonicalize_path(pg_data);
13141314
}
13151315

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