On Mon, 19 Dec 2016 16:09:17 +0100
Kooda <ko...@upyum.com> wrote:

> I found this little error in types.db today, while working on the EZD
> port.

…and here is the patch for the chicken-5 branch.
>From 496f85623ec7cdd4427ffb0227e3fe46776193f1 Mon Sep 17 00:00:00 2001
From: Kooda <ko...@upyum.com>
Date: Mon, 19 Dec 2016 16:33:27 +0100
Subject: [PATCH] Fix type declaration of get-environment-variables

---
 types.db | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/types.db b/types.db
index 17250e91..42f40127 100644
--- a/types.db
+++ b/types.db
@@ -1931,7 +1931,7 @@
 (chicken.posix#current-effective-group-id (#(procedure #:clean) chicken.posix#current-effective-group-id () fixnum))
 (chicken.posix#current-effective-user-id (#(procedure #:clean) chicken.posix#current-effective-user-id () fixnum))
 (chicken.posix#current-effective-user-name (#(procedure #:clean) chicken.posix#current-effective-user-name () string))
-(chicken.posix#get-environment-variables (#(procedure #:clean) chicken.posix#get-environment-variables () (list-of string)))
+(chicken.posix#get-environment-variables (#(procedure #:clean) chicken.posix#get-environment-variables () (list-of (pair string string))))
 (chicken.posix#current-group-id (#(procedure #:clean) chicken.posix#current-group-id () fixnum))
 (chicken.posix#current-process-id (#(procedure #:clean) chicken.posix#current-process-id () fixnum))
 (chicken.posix#current-user-id (#(procedure #:clean) chicken.posix#current-user-id () fixnum))
-- 
2.11.0

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

Reply via email to