HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68ec323
)
(scm_c_issue_deprecation_warning): Use malloc instead of scm_malloc.
author
Marius Vollmer
<mvo@zagadka.de>
Thu, 10 Mar 2005 18:05:25 +0000
(18:05 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Thu, 10 Mar 2005 18:05:25 +0000
(18:05 +0000)
The latter can not be used during GC.
libguile/deprecation.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/deprecation.c
b/libguile/deprecation.c
index
de643c2
..
18dfe0a
100644
(file)
--- a/
libguile/deprecation.c
+++ b/
libguile/deprecation.c
@@
-67,7
+67,7
@@
scm_c_issue_deprecation_warning (const char *msg)
scm_newline (scm_current_error_port ());
}
msg = strdup (msg);
- iw =
scm_
malloc (sizeof (struct issued_warning));
+ iw = malloc (sizeof (struct issued_warning));
if (msg == NULL || iw == NULL)
return;
iw->message = msg;