X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/1cc91f1b2937a230a2dc80dd25cc6003b7b8f2b5..1ea47048371e52978ef4aad071e520ceb00febc1:/libguile/mallocs.c diff --git a/libguile/mallocs.c b/libguile/mallocs.c index 78dd76307..b2f48cdd8 100644 --- a/libguile/mallocs.c +++ b/libguile/mallocs.c @@ -1,6 +1,6 @@ /* classes: src_files */ -/* Copyright (C) 1995 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -14,8 +14,8 @@ * * You should have received a copy of the GNU General Public License * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - */ + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA */ @@ -58,9 +58,9 @@ prinmalloc (exp, port, pstate) SCM port; scm_print_state *pstate; { - scm_gen_puts(scm_regular_string, "#', port); + scm_putc('>', port); return 1; } @@ -88,8 +88,8 @@ scm_malloc_obj (n) SCM_ALLOW_INTS; return SCM_BOOL_F; } - SCM_CDR (answer) = mem; - SCM_CAR (answer) = scm_tc16_malloc; + SCM_SETCDR (answer, mem); + SCM_SETCAR (answer, scm_tc16_malloc); SCM_ALLOW_INTS; return answer; }