From fc22b297fca7085a3379f25d5661f4dfad47037a Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sun, 21 Mar 2004 00:30:12 +0000 Subject: [PATCH] (scm_ceval, scm_deval): Explicitely evaluate ports to themselves. Thanks to Han-Wen Nienhuys! --- libguile/eval.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libguile/eval.c b/libguile/eval.c index dd85f8780..353ebef37 100644 --- a/libguile/eval.c +++ b/libguile/eval.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003, 2004 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -3605,6 +3605,7 @@ dispatch: case scm_tc7_pws: case scm_tcs_subrs: case scm_tcs_struct: + case scm_tc7_port: RETURN (x); case scm_tc7_symbol: