`scm_c_read ()' and `swap_buffer' trick harmful

2008-11-15 Thread Ludovic Courtès
Hello! I just discovered undesirable side effects of commit b5cb4464ca4e23d077a9777bbc17835feb0f4374 "Make multi-byte reads on unbuffered ports more efficient." An example application that breaks in the presence of this patch are "custom binary input ports" (aka. CBIPs [0]) in Guile-R6RS-Libs [1]

Re: Guile release planning

2008-11-15 Thread Neil Jerram
Hi Mike, thanks for your response. 2008/11/11 Mike Gran <[EMAIL PROTECTED]>: > If the base Guile C API remains stable, it doesn't matter to me how the > releases occur, because they won't break my libraries or projects. OK. > If the Guile C API needs to change, some sort of notification and bet

Re: Guile release planning

2008-11-15 Thread Neil Jerram
2008/11/11 Linas Vepstas <[EMAIL PROTECTED]>: > > Any ideas for binary compatibility for the "micro" revisions? At our "upstream" level (i.e. not trying to solve all of the distribution-level issues), I think the theory is that this is covered by library interface numbering. In other words, if a

Re: Guile release planning

2008-11-15 Thread Mike Gran
> From: Neil Jerram <[EMAIL PROTECTED]> > Hi Mike, thanks for your response. > > I would propose, then, that we clearly flag (on the mailing list) an > API change at the time when the relevant commit is made to the > repository, and make sure that some minimum period of time elapses > before t

Re: Guile release planning

2008-11-15 Thread Neil Jerram
2008/11/11 Ludovic Courtès <[EMAIL PROTECTED]>: > > Your note doesn't take binary compatibility into account, and I think > it's an important thing, too. I think the ideal is to maintain binary > compatibility within a major series, as we've done (or tried to do) in > the 1.8.x series. (And Andy

Re: [PATCH] fix for Re: crash in gc with upside-down stack

2008-11-15 Thread Neil Jerram
2008/11/13 Ludovic Courtès <[EMAIL PROTECTED]>: > Hi, > > "Linas Vepstas" <[EMAIL PROTECTED]> writes: > >> The patch below fixes a crash during garbage collection, where, during >> the mark-stack phase, the top and bottom of the stack are found to be >> in backwards order, typically because scm_wit

Re: Guile release planning

2008-11-15 Thread Linas Vepstas
2008/11/15 Neil Jerram <[EMAIL PROTECTED]>: > 2008/11/11 Ludovic Courtès <[EMAIL PROTECTED]>: >> BTW, we need to consider releasing 1.8.6 one of these days! ;-) > > Yes. Do we have any particular more things to get into this? (I > don't think I have anything.) I'm seeing frequent and wide-spre