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

Craig A. Berry craigberry at mac.com
Thu May 20 16:19:36 EDT 2010


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 003_freebcp_direction.patch
Type: application/octet-stream
Size: 1039 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20100520/6678f99e/attachment.obj 


More information about the FreeTDS mailing list