mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 02:37:31 +03:00
Remove configure tests for signed', volatile', and signal handler args;
the harm potential outweighs the possible benefits.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright 2000 by PostgreSQL Global Development Group
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.21 2000/07/02 15:21:17 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/common.c,v 1.22 2000/08/27 19:00:34 petere Exp $
|
||||
*/
|
||||
#include "postgres.h"
|
||||
#include "common.h"
|
||||
@@ -252,7 +252,7 @@ volatile bool cancel_pressed;
|
||||
#define write_stderr(String) write(fileno(stderr), String, strlen(String))
|
||||
|
||||
void
|
||||
handle_sigint(SIGNAL_ARGS)
|
||||
handle_sigint(int signum)
|
||||
{
|
||||
/* Don't muck around if copying in or prompting for a password. */
|
||||
if ((copy_in_state && pset.cur_cmd_interactive) || prompt_state)
|
||||
|
||||
Reference in New Issue
Block a user