On 2 Jun 2004 [EMAIL PROTECTED] wrote:

> jorton      2004/06/02 01:27:43
>
>   Modified:    test     testsock.c
>   Log:
>   * test/testsock.c (setup_socket): Return NULL if bind fails, fixing
>   test suite hang if port 8021 is in use; all callers updated. (come
>   back longjmp, all is forgiven).

No, you were right the first time with regard to longjmp.  The trade-off
is that while using longjmp makes it easier to ignore the failure case, it
also means you _can't_ cleanup after yourself in the case of an error.

Ryan

Reply via email to