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

Commit76c7d2a

Browse files
committed
Drat, can't fit an additional argument into log_error. Is it worth an
sprintf pushup to be sure we can report something useful for out-of-rangeexitstatus?
1 parenta9fa525 commit76c7d2a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/port/exec.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/port/exec.c,v 1.52 2007/01/2806:32:02 tgl Exp $
12+
* $PostgreSQL: pgsql/src/port/exec.c,v 1.53 2007/01/2807:29:32 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -587,10 +587,9 @@ pclose_check(FILE *stream)
587587
log_error(_("child process was terminated by exception 0x%X"),
588588
WTERMSIG(exitstatus));
589589
#elif defined(HAVE_DECL_SYS_SIGLIST)&&HAVE_DECL_SYS_SIGLIST
590-
log_error(_("child process was terminated by signal %s (%d)"),
590+
log_error(_("child process was terminated by signal %s"),
591591
WTERMSIG(exitstatus)<NSIG ?
592-
sys_siglist[WTERMSIG(exitstatus)] :"(unknown)",
593-
WTERMSIG(exitstatus));
592+
sys_siglist[WTERMSIG(exitstatus)] :"(unknown)");
594593
#else
595594
log_error(_("child process was terminated by signal %d"),
596595
WTERMSIG(exitstatus));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp