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

Commitc826991

Browse files
committed
Fix set_pglocale to properly pass my_exec_path to get_locale_path instead of argv0.
1 parent76c50c0 commitc826991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/path.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/path.c,v 1.13 2004/05/2501:42:08 momjian Exp $
11+
* $PostgreSQL: pgsql/src/port/path.c,v 1.14 2004/05/2518:18:29 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -258,7 +258,7 @@ set_pglocale(const char *argv0, const char *app)
258258
if (find_my_exec(argv0,my_exec_path)<0)
259259
return;
260260

261-
get_locale_path(argv0,path);
261+
get_locale_path(my_exec_path,path);
262262
bindtextdomain(app,path);
263263
textdomain(app);
264264
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp