提交 ec610a76 编写于 作者: B Bryan Henderson

Remove 4th element of sigaction structure so it works on more platforms.

上级 682ccb81
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册