Re: ccl getenv fix

Kiss Kálmán <[email protected]> Wed, 20 Nov 2013 09:18:00 +0100
Newsgroups gmane.lisp.clsql.general
Message-ID <[email protected]>

Good remark, modify the "#+mcl..." line then, like:
#+(or mcl ccl) (ccl::getenv var)

Take care
Kami

-------- Eredeti üzenet --------
Tárgy: Re: [CLSQL] ccl getenv fix
Feladó: Ralf Mattes <[email protected]>
Címzett: Kiss Kálmán <[email protected]>
CC: [email protected]
Dátum: 2013.11.14. 17:12

> On Thu, Nov 14, 2013 at 03:03:08PM +0100, Kiss Kálmán wrote:
>>
>> At least the Oracle driver uses the implementation specific getenv.
>>
>> --- sql/utils.lisp    2013-11-14 14:42:54.000000000 +0100
>> +++ sql/utils.lisp.new    2013-11-14 14:28:46.000000000 +0100
>> @@ -376,7 +376,8 @@
>>                  :key #'string))
>>      #+lispworks (lw:environment-variable (string var))
>>      #+mcl (ccl::getenv var)
>> -  #+sbcl (sb-ext:posix-getenv var))
>> +  #+sbcl (sb-ext:posix-getenv var)
>> +  #+ccl (getenv var))
>
> Please make this:
>
>   +  #+ccl (ccl:getenv var))
>
> An unqualified symbol outside cl might by bound to surprising functions ...
>
>   Cheers, Ralf Mattes
>



_______________________________________________
CLSQL mailing list
[email protected]
http://lists.b9.com/cgi-bin/mailman/listinfo/clsql