Skip to Content.
Sympa Menu

freetds - Re: [freetds] [PATCH] to remove exit statements from libct

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: christos AT zoulas.com (Christos Zoulas)
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [PATCH] to remove exit statements from libct
  • Date: Sun, 28 Feb 2010 16:44:29 -0500

On Mar 1, 8:18am, ddick AT cpan.org (David Dick) wrote:
-- Subject: Re: [freetds] [PATCH] to remove exit statements from libct

| On 01/03/10 00:56, Frediano Ziglio wrote:
| > Hi,
| > some calls check internal behaviour witch should not raise (unless
| > in situations where an exit is really necessary). However login and
| > token should not exit as you detect correctly. I'll apply a modified
| > version.
|
| So the remaining exits would designate a client programming error as
| distinct from a server programming error / protocol error?

Libraries should not exit; they should indicate the reason for the error,
and generally avoid printing to stderr. The source of the error is really
not relevant.

christos




Archive powered by MHonArc 2.6.24.

Top of Page