summaryrefslogtreecommitdiff
path: root/libguile/mallocs.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-11-08 00:36:48 +0100
committerAndy Wingo <wingo@pobox.com>2011-11-08 00:55:05 +0100
commit0607ebbfcf63dc81e4bc2b10f3a8c3bc0d348c09 (patch)
tree8d7b9e0b211acf00ebcd43e57b7a860fa966ea07 /libguile/mallocs.c
parent4251ae2e282385be6d08b0fffab761fcc0fa93aa (diff)
downloadguile-0607ebbfcf63dc81e4bc2b10f3a8c3bc0d348c09.tar.gz
locking for putc, puts
* libguile/ports.c (scm_putc, scm_puts): * libguile/ports.h (scm_putc_unlocked, scm_puts_unlocked): Separate into _unlocked and locked variants. Change all callers to use the _unlocked versions.
Diffstat (limited to 'libguile/mallocs.c')
-rw-r--r--libguile/mallocs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/mallocs.c b/libguile/mallocs.c
index 6a366aeea..bd8aee8ea 100644
--- a/libguile/mallocs.c
+++ b/libguile/mallocs.c
@@ -1,5 +1,5 @@
/* classes: src_files
- * Copyright (C) 1995,1997,1998,2000,2001, 2006 Free Software Foundation, Inc.
+ * Copyright (C) 1995,1997,1998,2000,2001, 2006, 2011 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 License
@@ -46,9 +46,9 @@ scm_t_bits scm_tc16_malloc;
static int
malloc_print (SCM exp, SCM port, scm_print_state *pstate SCM_UNUSED)
{
- scm_puts("#<malloc ", port);
+ scm_puts_unlocked("#<malloc ", port);
scm_uintprint (SCM_SMOB_DATA (exp), 16, port);
- scm_putc('>', port);
+ scm_putc_unlocked('>', port);
return 1;
}