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:
d3464bb
)
vm_make_boot_program initializer fix
author
Andy Wingo
<wingo@pobox.com>
Fri, 13 May 2011 11:20:39 +0000
(13:20 +0200)
committer
Andy Wingo
<wingo@pobox.com>
Fri, 13 May 2011 13:29:30 +0000
(15:29 +0200)
* libguile/vm.c (vm_make_boot_program): Use #f as the "I don't have a
program" value.
libguile/vm.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/vm.c
b/libguile/vm.c
index
e8f8ddf
..
b9d613a
100644
(file)
--- a/
libguile/vm.c
+++ b/
libguile/vm.c
@@
-401,9
+401,9
@@
really_make_boot_program (long nargs)
static SCM
vm_make_boot_program (long nargs)
{
- static SCM programs[NUM_BOOT_PROGS] = {
0
, };
+ static SCM programs[NUM_BOOT_PROGS] = {
SCM_BOOL_F
, };
- if (SCM_UNLIKELY (
!programs[0]))
+ if (SCM_UNLIKELY (
scm_is_false (programs[0])))
{
int i;
for (i = 0; i < NUM_BOOT_PROGS; i++)