Re: [Chicken-hackers] [PATCH] Replace unsafe string functions with their safer counterparts

2014-01-23 Thread .alyn.post.
I run OpenBSD as my primary development platform. I've updated to master, applied this patch, and rebuilt my eggs/development environment. After applying this patch, I no longer get linker errors building Chicken Scheme executables, and my local regression tests pass without error. -a On Thu, J

Re: [Chicken-hackers] Bug in SRFI 13 string-skip-right (was: fix for string-trim-right)

2014-01-23 Thread Alex Shinn
On Thu, Jan 23, 2014 at 1:57 PM, John Cowan wrote: > Alex Shinn scripsit: > > > > (string-skip-right "abc " char-whitespace? 4 4) => 2 > > > > > > The correct result is #f; Riastradh confirmed that the correct > semantics > > > throughout SRFI 13 for start-end is that they are conceptually appl

[Chicken-hackers] [PATCH] Replace unsafe string functions with their safer counterparts

2014-01-23 Thread Christian Kellermann
Hi all, I propose the following patch. It has been tested on OpenBSD and Linux. Should work without troubles on all other OSes as well. Please give it a try. Thanks, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong

Re: [Chicken-hackers] [PATCH] Fix for #877

2014-01-23 Thread Christian Kellermann
* Peter Bex [140105 21:38]: > Hi all, > > I finally took a shovel and dug in deep into #877. > It's a very tricky one and I think it's been so elusive due > to the fact that the bug *probably* only crops up on machines > with multiple CPU (cores). Thanks, I have pushed it. I looked at it the tim