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

Commitd6ce220

Browse files
committed
psql fix.
1 parente2f3205 commitd6ce220

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

‎src/bin/psql/psql.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.186 1999/07/1916:49:17 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.187 1999/07/1921:06:19 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -2876,9 +2876,11 @@ main(int argc, char **argv)
28762876
pqsignal(SIGINT,handle_sigint);/* control-C => cancel */
28772877
#ifdefUSE_READLINE
28782878
settings.useReadline=1;
2879-
/* Set the application name, used for parsing .inputrc */
2880-
char*progname=strrchr(argv[0],SEP_CHAR);
2881-
rl_readline_name= (progname ?progname+1 :argv[0]);
2879+
{
2880+
/* Set the application name, used for parsing .inputrc */
2881+
char*progname=strrchr(argv[0],SEP_CHAR);
2882+
rl_readline_name= (progname ?progname+1 :argv[0]);
2883+
}
28822884
#endif
28832885
}
28842886
#ifdefPSQL_ALWAYS_GET_PASSWORDS

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp