-/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2006, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1998,1999,2000,2001, 2002, 2003, 2004, 2006, 2008, 2009, 2010 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
void *
scm_gc_malloc (size_t size, const char *what)
{
- /*
- The straightforward implementation below has the problem
- that it might call the GC twice, once in scm_malloc and then
- again in scm_gc_register_collectable_memory. We don't really
- want the second GC since it will not find new garbage.
-
- Note: this is a theoretical peeve. In reality, malloc () never
- returns NULL. Usually, memory is overcommitted, and when you try
- to write it the program is killed with signal 11. --hwn
- */
-
void *ptr;
if (size == 0)