[freetds] src/dblib/unittests/t0008.c

Craig A. Berry craigberry at mac.com
Sat Apr 16 14:15:36 EDT 2005


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


More information about the FreeTDS mailing list