>>>> "SJT" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
SJT> Much worse is the situation in unix_open_network_stream where you have
SJT> (currently in 21.4)
unix_open_network_stream is a good candidate for splitting up into
multiple functions.
SJT> The standard doesn't even allow this:
SJT> longjmp_p = setjmp (jmpbuf);
SJT> if (longjmp_p)
SJT> {
SJT> /* clean up */
SJT> }
SJT> else
SJT> {
SJT> old_sigpipe = signal (SIGPIPE, send_process_trap);
SJT> /* do I/O */
SJT> signal (SIGPIPE, old_sigpipe);
SJT> }
... which unix_open_network_stream appears to violate.