diff options
author | Bruce Momjian | 2007-01-28 03:50:34 +0000 |
---|---|---|
committer | Bruce Momjian | 2007-01-28 03:50:34 +0000 |
commit | 91ed399517b025ff672d57599a6155350cd84a89 (patch) | |
tree | 420786ef6ee78e445d96ee572069ac6ea73d93a5 /src/port/exec.c | |
parent | 9bf559dee3b84e0ed3ab26c0b133fb2035c9312d (diff) |
Use autoconf build-in sys_siglist macro AC_DECL_SYS_SIGLIST, rather than
create our own.
Diffstat (limited to 'src/port/exec.c')
-rw-r--r-- | src/port/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/exec.c b/src/port/exec.c index 5834b7f114f..5d7a8f052a7 100644 --- a/src/port/exec.c +++ b/src/port/exec.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/exec.c,v 1.50 2007/01/28 02:33:09 momjian Exp $ + * $PostgreSQL: pgsql/src/port/exec.c,v 1.51 2007/01/28 03:50:34 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -586,7 +586,7 @@ pclose_check(FILE *stream) #if defined(WIN32) log_error(_("child process was terminated by exception %X\nSee C include file \"ntstatus.h\" for a description of the hex value."), WTERMSIG(exitstatus)); -#elif defined(HAVE_SYS_SIGLIST) +#elif defined(HAVE_DECL_SYS_SIGLIST) log_error(_("child process was terminated by signal: %s"), WTERMSIG(exitstatus) < NSIG ? sys_siglist[WTERMSIG(exitstatus)] : "unknown signal"); |