~ chicken-core (chicken-5) 4f3c046ab3058949c0b64082a243904f1752fbca


commit 4f3c046ab3058949c0b64082a243904f1752fbca
Author:     felix <felix@call-with-current-continuation.org>
AuthorDate: Sat Oct 30 00:10:32 2010 +0200
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Sat Oct 30 00:10:32 2010 +0200

    build-fix in rules.make by ewfalor (libchicken didn't get relinked)

diff --git a/chicken.h b/chicken.h
index bcbeefbd..eb271468 100644
--- a/chicken.h
+++ b/chicken.h
@@ -1116,6 +1116,7 @@ extern double trunc(double);
                                         C_mk_bool(C_strncasecmp((C_char *)C_data_pointer(s1) + C_unfix(start1), \
                                                                 (C_char *)C_data_pointer(s2) + C_unfix(start2), \
                                                                 C_unfix(len) ) == 0)
+/* this does not use C_mutate: */
 #define C_subvector_copy(v1, v2, start1, end1, start2) \
                                         (C_memcpy_slots((C_char *)C_data_pointer(v2) + C_unfix(start2), \
                                                   (C_char *)C_data_pointer(v1) + C_unfix(start1), \
@@ -1161,7 +1162,7 @@ extern double trunc(double);
 #define C_poke_pointer_or_null(b, i, x) (C_set_block_item(b, C_unfix(i), (C_word)C_data_pointer_or_null(x)), C_SCHEME_UNDEFINED)
 #define C_qfree(ptr)                    (C_free(C_c_pointer_nn(ptr)), C_SCHEME_UNDEFINED)
 
-#define C_tty_portp(p)                 C_mk_bool(isatty(fileno(C_port_file(p))))
+#define C_tty_portp(p)                  C_mk_bool(isatty(fileno(C_port_file(p))))
 
 #define C_emit_eval_trace_info(x, y, z) C_emit_trace_info2("<eval>", x, y, z)
 #define C_emit_syntax_trace_info(x, y, z) C_emit_trace_info2("<syntax>", x, y, z)
diff --git a/rules.make b/rules.make
index 5f3f6339..bb84671d 100644
--- a/rules.make
+++ b/rules.make
@@ -640,6 +640,7 @@ install-bin:
 	$(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(CHICKEN_STATUS_PROGRAM)$(EXE)
 	$(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(IMPORT_LIBRARIES:%=%.so)
 	$(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(IMPORT_LIBRARIES:%=%.import.so)
+	$(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(LIBCHICKEN_SO_FILE)
 	$(MAKE) -f $(SRCDIR)Makefile.$(PLATFORM) CONFIG=$(CONFIG) NEEDS_RELINKING=no RUNTIME_LINKER_PATH="$(LIBDIR)" SONAME_VERSION=.$(BINARYVERSION) install-bin
 # Damn. What was this for, again?
 #
Trap