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

Commitb8c2421

Browse files
committed
pqsignal call needs to be #ifndef WIN32, per report from Magnus.
1 parent80c6843 commitb8c2421

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/bin/psql/mainloop.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.38 2001/03/23 00:36:38 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.39 2001/03/26 15:18:51 tgl Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"mainloop.h"
@@ -567,7 +567,9 @@ MainLoop(FILE *source)
567567
* it will re-enable ^C catching as soon as it gets back to the top
568568
* of its loop and resets main_loop_jmp to point to itself.
569569
*/
570+
#ifndefWIN32
570571
pqsignal(SIGINT,SIG_DFL);
572+
#endif
571573

572574
destroyPQExpBuffer(query_buf);
573575
destroyPQExpBuffer(previous_buf);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp