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

ZIGLIO Frediano Frediano.Ziglio at mail.vodafone.it
Thu May 15 10:41:31 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.  
> 

I already fixed this BUG.
Simply I removed tolower lines (tds_read_conf_section use it with strcasecmp)

freddy77



More information about the FreeTDS mailing list