Hi,

On Thu, 23 Jan 2014 12:28:01 +0100 Christian Kellermann <ck...@pestilenz.org> 
wrote:

> I propose the following patch. It has been tested on OpenBSD and
> Linux. Should work without troubles on all other OSes as well.
> Please give it a try.

Sorry for taking so long to give it a try on Windows.  Unfortunately, it
seems to break things on that platform.

The environment variable tests in posix-tests.scm caught the issue.
Here's an example:

  #;1> (use posix)
  ; loading c:/local/chicken-master-mingw/lib/chicken/7/posix.import.so
  ; ...
  ; loading library posix ...
  #;2> (setenv "FOO" "bar")
  #;3> (get-environment-variable "FOO")
  "x\x01=b\x03"

Reverting 8efbbc50d050d28c34ea0c5a58d0de92ec9f918a makes tests pass
again.  Tested on cygwin, mingw (Windows XP 32bit).

Best wishes.
Mario
-- 
http://parenteses.org/mario

_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to