Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5ee0a8d

Browse files
committed
canonicalization adjustments.
1 parenta4c71af commit5ee0a8d

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)

[8]ページ先頭

©2009-2025 Movatter.jp