bug#18065: guile hangs if strerror is called with invalid (non-int) argument

2014-11-11 Thread Mark H Weaver
Fixed in fda17c20a3d088fccab1671c8881bd217d83d5f6 on the stable-2.0 branch, which will become Guile 2.0.12. Thanks, Mark

bug#18866: bytevector-copy creates srfi-4 vector with greater length

2014-11-11 Thread Mark H Weaver
tantalum writes: > with guile version 2.1.0.89-c5ea7 on an x86_64 GNU/Linux system > and the following code > (use-modules (srfi srfi-4) (rnrs bytevectors)) > (define a (make-f32vector 2 0)) > (define b (bytevector-copy a)) > (write (list a b)) > > "b" turns out to be an f32vector with le

bug#18898: Two portability patches

2014-11-11 Thread Mark H Weaver
Thomas Klausner writes: > test does not generally support '==' as comparison operator. > > It's a bash(1) feature; not even GNU coreutils test(1) supports it. > Use '=' instead. Fixed in 03242f398f3520b1b27caf5885c8d5600094f944. > NetBSD provides newlocale and strcoll_l, but not uselocale.

bug#19027: bytevector-fill! reject fill arguments larger than 127

2014-11-11 Thread Mark H Weaver
Fixed in ae6f77ddfaf8e752589d9050c9e517cb1c52cbf0 on the stable-2.0 branch. Mark

bug#19027: bytevector-fill! reject fill arguments larger than 127

2014-11-11 Thread Mark H Weaver
See the following session with Guile 2.0.11: --8<---cut here---start->8--- scheme@(guile-user)> ,use (rnrs bytevectors) scheme@(guile-user)> (define bv (make-bytevector 8)) scheme@(guile-user)> (bytevector-fill! bv 255) ERROR: In procedure bytevector-fill!: ERRO

bug#18592: FFI should have portable access to ‘errno’

2014-11-11 Thread Frank Terbeck
Mark H. Weaver wrote: > Frank Terbeck writes: [...] >> Mark Weaver on IRC thought it would be a good idea to add portable >> access to the contents of ‘errno’ (however it's actually implemented) to >> Guile's FFI. And now the idea has entered the bug tracker. :) > > Indeed, thanks for filing this

bug#19019: Guile improperly assumes 'long' is the same size as pointers

2014-11-11 Thread Mark H Weaver
Forwarded from guile-user: > Date: Mon, 10 Nov 2014 12:44:55 +0200 > From: Eli Zaretskii > Subject: Re: Unable to compile Guile > To: jeremy chen > Cc: guile-u...@gnu.org > >> Date: Sun, 9 Nov 2014 23:30:07 -0500 >> From: jeremy chen >> >> Hi, I am trying to compile guile on windows with Ming

bug#18592: FFI should have portable access to ‘errno’

2014-11-11 Thread Mark H Weaver
Frank Terbeck writes: > When accessing POSIX functions from a system's libc via Guile's dynamic > FFI, you commonly want to access the ‘errno’ variable to be able to > produce useful diagnostic messages. > > Currently there's no such access built-in. > > Mark Weaver on IRC thought it would be a g