[PATCH] bug in scm_make_struct?

2000-07-25 Thread Dirk Herrmann
On 25 Jul 2000, Mikael Djurfeldt wrote: > Dirk Herrmann <[EMAIL PROTECTED]> writes: > > > In scm_make_struct, there is the following initialization sequence: > > > > SCM_SET_CELL_WORD_1 (handle, data); > > SCM_SET_CELL_WORD_0 (handle, (scm_bits_t) SCM_STRUCT_DATA (vtable) + >scm_tc3_cons_g

Re: [PATCH] bug in scm_make_struct?

2000-07-25 Thread Mikael Djurfeldt
Dirk Herrmann <[EMAIL PROTECTED]> writes: > Since I don't know if the removal of scm_struct_init from struct.h > is considered an API change, I will wait for approval before > applying that patch. I appreciate that. In this case, I don't think scm_struct_init is a meaningful part of the API, an

Re: Bug in assq/v/oc-remove! primitives (with patch)

2000-07-25 Thread Neil Jerram
> "Marius" == Marius Vollmer <[EMAIL PROTECTED]> writes: Marius> Neil Jerram <[EMAIL PROTECTED]> writes: >> I think I've found a bug in assq-remove! and friends. My >> understanding is that >> >> (assq/v/oc-remove! alist key1) >> >> should remove all entries fro

Re: Bug in assq/v/oc-remove! primitives (with patch)

2000-07-25 Thread Marius Vollmer
Neil Jerram <[EMAIL PROTECTED]> writes: > I agree. Would you like a further patch for this, or will you just > change the 3 "while"s back to "if"s? Yep, I'll do the changes myself. The final patch then looks like a bug fix, where scm_delv_x and scm_delete_x is merely replaced by scm_delq_x, ri

Re: Bug in assq/v/oc-remove! primitives (with patch)

2000-07-25 Thread Mikael Djurfeldt
Marius Vollmer <[EMAIL PROTECTED]> writes: > Neil Jerram <[EMAIL PROTECTED]> writes: > > > I agree. Would you like a further patch for this, or will you just > > change the 3 "while"s back to "if"s? > > Yep, I'll do the changes myself. The final patch then looks like a > bug fix, where scm_de