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

>From 98489fdd405a97a783749d7c202e3845d34a3565 Mon Sep 17 00:00:00 2001
From: Kooda <ko...@upyum.com>
Date: Mon, 19 Dec 2016 16:04:51 +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 12014e8f..27224752 100644
--- a/types.db
+++ b/types.db
@@ -1652,7 +1652,7 @@
 (current-effective-group-id (#(procedure #:clean) current-effective-group-id () fixnum))
 (current-effective-user-id (#(procedure #:clean) current-effective-user-id () fixnum))
 (current-effective-user-name (#(procedure #:clean) current-effective-user-name () string))
-(get-environment-variables (#(procedure #:clean) get-environment-variables () (list-of string)))
+(get-environment-variables (#(procedure #:clean) get-environment-variables () (list-of (pair string string))))
 (current-group-id (#(procedure #:clean) current-group-id () fixnum))
 (current-process-id (#(procedure #:clean) current-process-id () fixnum))
 (current-user-id (#(procedure #:clean) 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