[r6rs] frontier port position rejected with bytevector ports

2011-04-07 Thread Marco Maggi
The following program fails: #!r6rs (import (rnrs)) (define port (open-bytevector-input-port '#vu8())) (set-port-position! port (port-position port)) and the following fails, too: #!r6rs (import (rnrs)) (define port (open-bytevector-input-port '#vu8(1 2 3))) (write (port-position port))(newlin

guile-2.0.0 fails to build without threads

2011-04-07 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, guile-2.0.0 fails to build without --disable-threads when libgc (boehm-gc in gentoo) is built without threads: GENguile-procedures.texi 0x75c140 is not a GC visible pointer location GC_is_visible test failed /bin/sh: line 1: 20016 Broken p

(quit) not working?

2011-04-07 Thread Marijn
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, (quit) doesn't seem to work to quit guile anymore. Further `,bt' prints no backtrace after the error and `,q' doesn't continue but quits the program. See interaction below. Marijn $ guile GNU Guile 2.0.0 Copyright (C) 1995-2011 Free Software Fou

Re: (quit) not working?

2011-04-07 Thread Andy Wingo
On Thu 07 Apr 2011 18:11, Marijn writes: > (quit) doesn't seem to work to quit guile anymore. Further `,bt' prints > no backtrace after the error and `,q' doesn't continue but quits the > program. See interaction below. Fixed in git, I believe. We plan to release a 2.0.1 shortly, but have been

Re: [r6rs] frontier port position rejected with bytevector ports

2011-04-07 Thread Ian Price
Hello, I'm not too familiar with guile's codebase, but I think I've found the bug. It's a fencepost error in the SEEK_SET case of bip_seek from libguile/r6rs-ports.c . I've attached a fix for stable-2.0 Regards, Ian >From c3fd372c573ae1bc9cdf3cb0ef69d6a0592ec020 Mon Sep 17 00:00:00 2001 From: Ia