[prev in list] [next in list] [prev in thread] [next in thread] 

List:       9fans
Subject:    Re: [9fans] exits or sysfatal or ??? in libs?
From:       Russ Cox <rsc () swtch ! com>
Date:       2005-09-20 13:44:08
Message-ID: ee9e417a05092006442cb40a29 () mail ! gmail ! com
[Download RAW message or body]

The rule is that you shouldn't exit in a library.

If you decide to break the rule, you should sysfatal,
because that does the right thing for threaded programs.

The fact that x509 chooses not to return the errors
is unfortunate.  The fact that it uses exits is just wrong.

Russ

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic