Skip to Content.
Sympa Menu

freetds - [freetds] [PATCH] freebcp direction need not be case sensitive

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>
  • Subject: [freetds] [PATCH] freebcp direction need not be case sensitive
  • Date: Thu, 20 May 2010 15:19:36 -0500

As far as I can tell, the Microsoft bcp client does not care whether you say in or IN, out or OUT, etc. And it's darn inconvenient to have to quote the direction in a command shell that does not preserve case. So the attached teeny patch replaces some strcmp's with strcasecmp and all is well.

One file affected:

% lsdiff -s --strip=1 003_freebcp_direction.patch
! src/apps/freebcp.c

________________________________________
Craig A. Berry
mailto:craigberry AT mac.com

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


Attachment: 003_freebcp_direction.patch
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page