Re: ct_config set CS_IFILE property is not working?
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 11 Jan 2012 23:11:54 +0100 Dariusz Ostolski <[email protected]> wrote: > >> 2. What alternatives do I have? I don't want to modify $SYBASE > >> environment variable and I wouldn't like to use any function > >> outside ct library? > > USTL. There's a static constant src/tds/config.c::interfaces_path. > > Add to the case statement in ct_config, diddle just a bit with the > > logic around config.c:1095: > > It should be by context so I prepared a patch that should work on a > context. Thank you kindly. IIRC context information is to be found somewhere in the TDSSOCKET structure. I will answer in more detail later. --jkl