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

Commited3240d

Browse files
author
Julian Assange
committed
bugfix: if NOREADLINE was not defined and input was not from a tty, then
the getopt() was not executed.
1 parent64b130a commited3240d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/psql.c

Lines changed: 2 additions & 2 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.10 1996/07/27 04:38:22 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.11 1996/07/28 06:48:42 julian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1134,8 +1134,8 @@ main(int argc, char** argv)
11341134
settings.opt.pager=1;
11351135
if (!isatty(0)|| !isatty(1))
11361136
settings.quiet=settings.notty=1;
1137-
else
11381137
#ifndefNOREADLINE
1138+
else
11391139
settings.useReadline=1;
11401140
#endif
11411141

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp