mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Remove 4th element of sigaction structure so it works on more platforms.
This commit is contained in:
parent
682ccb81a0
commit
ec610a7696
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.9 1996/10/10 08:20:09 bryanh Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.10 1996/10/15 07:16:41 bryanh Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -338,7 +338,7 @@ freePGconn(PGconn *conn)
|
||||
static void
|
||||
closePGconn(PGconn *conn)
|
||||
{
|
||||
const struct sigaction ignore_action = {SIG_IGN, 0, 0, NULL};
|
||||
const struct sigaction ignore_action = {SIG_IGN, 0, 0};
|
||||
struct sigaction oldaction;
|
||||
|
||||
/* If connection is already gone, that's cool. No reason for kernel
|
||||
|
Loading…
Reference in New Issue
Block a user