Skip to Content.
Sympa Menu

freetds - Re: [freetds] src/dblib/unittests/t0008.c

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Craig A. Berry" <craigberry AT mac.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc: "James K. Lowden" <jklowden AT schemamania.org>, TDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] src/dblib/unittests/t0008.c
  • Date: Sat, 16 Apr 2005 13:15:36 -0500

At 1:38 PM -0400 4/16/05, James K. Lowden wrote:

>I thought I'd ask someone else
>why a program that ends unconditionally with:
>
> fprintf(stderr, "dblib failed for %s\n", __FILE__);
> free_bread_crumb();
> return 1;
>
>wouldn't always look like a failed test?

I would guess the normal method of exit is up above where it says:

free_bread_crumb();
return (last_read == 48) ? 0 : 1;

Why it doesn't hit that now I don't know.
--
________________________________________
Craig A. Berry
mailto:craigberry AT mac.com

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser




Archive powered by MHonArc 2.6.24.

Top of Page