|
11 | 11 | *
|
12 | 12 | *
|
13 | 13 | * IDENTIFICATION
|
14 |
| - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.35 2004/01/09 02:02:43 momjian Exp $ |
| 14 | + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.36 2004/01/09 02:17:15 momjian Exp $ |
15 | 15 | *
|
16 | 16 | * NOTES
|
17 | 17 | * The client *requires* a valid server certificate. Since
|
@@ -1099,7 +1099,11 @@ check_sigpipe_handler(void)
|
1099 | 1099 | void
|
1100 | 1100 | sigpipe_handler_ignore_send(intsigno)
|
1101 | 1101 | {
|
1102 |
| -/* If we have gotten a SIGPIPE outside send(), exit */ |
| 1102 | +/* |
| 1103 | + *If we have gotten a SIGPIPE outside send(), exit. |
| 1104 | + *Synchronous signals are delivered to the thread |
| 1105 | + *that caused the signal. |
| 1106 | + */ |
1103 | 1107 | if (!PQinSend())
|
1104 | 1108 | exit(128+SIGPIPE);/* typical return value for SIG_DFL */
|
1105 | 1109 | }
|
|