[freetds] freetds/DBD::Sybase/perl environment wierdness

Lowden, James K LowdenJK at bernstein.com
Thu May 15 10:37:28 EDT 2003

> From: Steve Haslam [mailto:Steve.Haslam at Activis.com]
> Sent: May 15, 2003 9:05 AM
> I'm having some wierdness when using FreeTDS (0.61) and 
> DBD::Sybase from
> Perl-- after I connect to a database, the LANG environment variable is
> downcased in any subprocesses I spawn, although $ENV{LANG} remains
> unchanged. Any ideas?

Yup.  src/tds/locale.c:70.  We get the string and lowercase it.  :-/

I'd fix it, but we're pretty close to ripping that function out altogether.

If you fix it and send a patch, I'll add it to 0.61.1.  

The information contained in this transmission may contain privileged and confidential information and is intended only for the use of the person(s) named above. If you are not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender immediately by reply e-mail and destroy all copies of the original message. Please note that we do not accept account orders and/or instructions by e-mail, and therefore will not be responsible for carrying out such orders and/or instructions.

More information about the FreeTDS mailing list