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

Commit7f42dab

Browse files
committed
Fix for pg_ctl -o processing. Report from Sean Chittenden.
1 parent5bd458c commit7f42dab

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.23 2004/07/22 01:44:36 tgl Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.24 2004/07/29 16:11:11 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -359,7 +359,7 @@ test_postmaster_connection(void)
359359
/* keep looking, maybe there is another -p */
360360
}
361361
/* Advance to next whitespace */
362-
while (!isspace(*p))
362+
while (*p&&!isspace(*p))
363363
p++;
364364
}
365365

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp