Re: ccl getenv fix
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]> Sat, 23 Nov 2013 10:08:56 -0700
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks, committed. Kevin On Nov 20, 2013, at 1:18 AM, Kiss Kálmán <[email protected]> wrote: > > > 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 <rm-OuoMP45H64u6ogTlOYt/[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 >