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

2016-03-03 Thread Mark H Weaver
Nala Ginrut writes: > Is there still problem? I'm fine with the patch, and I'm expecting to > merge it ASAP. Anyway, please don't hesitate to tell me if there's still > any problem, I'm glad to help to do it better. I really need it. Sorry for the delay, but I'm having second thoughts about whet

bug#22667: string->bytevector encoding error

2016-03-03 Thread Mark H Weaver
Josep Portella Florit writes: > 'string->bytevector' throws 'encoding-error' when the encoding is > "UTF-16" and the length of the string is greater than 128. The same > for the encoding "UTF-32" and a string of length greater than 64. > > Tested on Guile 2.0.11 and 2.1.2 with the same result. >

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

2016-03-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Mar 03, 2016 at 12:36:15PM -0500, Mark H Weaver wrote: > Nala Ginrut writes: > > > Is there still problem? I'm fine with the patch, and I'm expecting to > > merge it ASAP. Anyway, please don't hesitate to tell me if there's still > > any prob

bug#22901: drain-input doesn't decode

2016-03-03 Thread Zefram
The documentation for drain-input says that it returns a string of characters, implying that the result is equivalent to what you'd get from calling read-char some number of times. In fact it differs in a significant respect: whereas read-char decodes input octets according to the port's selected

bug#22902: GUILE_INSTALL_LOCALE not equivalent to setlocale

2016-03-03 Thread Zefram
The documentation claims that setting GUILE_INSTALL_LOCALE=1 in the environment is equivalent to calling (setlocale LC_ALL "") at startup. Actually there is at least one difference: calling setlocale causes ports (both primordial and later-opened) to be initially configured for the locale's nominal