|
11 | 11 | *
|
12 | 12 | *
|
13 | 13 | * IDENTIFICATION
|
14 |
| - * $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.25 2003/02/03 22:29:11 tgl Exp $ |
| 14 | + * $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.26 2003/02/14 00:18:41 tgl Exp $ |
15 | 15 | *
|
16 | 16 | * Since the server static private key ($DataDir/server.key)
|
17 | 17 | * will normally be stored unencrypted so that the database
|
|
83 | 83 | #include<ctype.h>
|
84 | 84 |
|
85 | 85 | #include"libpq/libpq.h"
|
86 |
| -#include"libpq/pqsignal.h" |
87 | 86 | #include"miscadmin.h"
|
88 | 87 |
|
89 | 88 | #ifdefWIN32
|
@@ -315,10 +314,6 @@ secure_write(Port *port, void *ptr, size_t len)
|
315 | 314 | {
|
316 | 315 | ssize_tn;
|
317 | 316 |
|
318 |
| -#ifndefWIN32 |
319 |
| -pqsigfuncoldsighandler=pqsignal(SIGPIPE,SIG_IGN); |
320 |
| -#endif |
321 |
| - |
322 | 317 | #ifdefUSE_SSL
|
323 | 318 | if (port->ssl)
|
324 | 319 | {
|
@@ -363,10 +358,6 @@ secure_write(Port *port, void *ptr, size_t len)
|
363 | 358 | #endif
|
364 | 359 | n=send(port->sock,ptr,len,0);
|
365 | 360 |
|
366 |
| -#ifndefWIN32 |
367 |
| -pqsignal(SIGPIPE,oldsighandler); |
368 |
| -#endif |
369 |
| - |
370 | 361 | returnn;
|
371 | 362 | }
|
372 | 363 |
|
|