Re: [Chicken-hackers] [PATCH] Make tests work from symlinked paths

2013-05-25 Thread Moritz Heidkamp
Mario Domenech Goulart mario.goul...@gmail.com writes: Ah good catch, but unfortunately OpenBSD does not expose realpath as a shell command (or binary utility). Is there a way to do this portably? John, do you know? Maybe readlink -f ? Thanks, that works, as well! Attached is an updated

[Chicken-hackers] patch: argument-type check for getter-with-setter

2013-05-25 Thread Kristian Lein-Mathisen
Dear Chickeners, With the help of C-Keen, I've been able to make small patch that prevents a segfault. The patch is attached. I hope it turns out useful, K. 0001-Adds-argument-type-check-on-getter-with-setter.patch Description: Binary data ___

Re: [Chicken-hackers] [PATCH] Fix for #1014 and minor cleanup of posix{win, unix} implementations

2013-05-25 Thread Jim Ursetto
On May 25, 2013, at 4:46 AM, Peter Bex peter@xs4all.nl wrote: There are also some memsets still left in the code after your patch, so some get initialized using C_tm_init, and some using memset. Only strptime gets initialized with C_tm_init, and the rest with memset. strptime produces a

Re: [Chicken-hackers] [PATCH] Make tests work from symlinked paths

2013-05-25 Thread Moritz Heidkamp
Mario Domenech Goulart mario.goul...@gmail.com writes: Maybe readlink -f ? OK, Peter found that even that is not portable so I changed the test itself to do the path canonicalization. Turns out that while the posix unit's read-symbolic-link has a CANONICALIZE option it doesn't quite behave like

Re: [Chicken-hackers] [PATCH] Fix for #1014 and minor cleanup of posix{win, unix} implementations

2013-05-25 Thread Peter Bex
On Sat, May 25, 2013 at 10:29:55AM -0500, Jim Ursetto wrote: On May 25, 2013, at 4:46 AM, Peter Bex peter@xs4all.nl wrote: There are also some memsets still left in the code after your patch, so some get initialized using C_tm_init, and some using memset. Only strptime gets

[Chicken-hackers] [PATCH] Add support for R7RS syntax-rules extensions

2013-05-25 Thread Peter Bex
Hi all, An important part of getting R7RS-small support into Chicken is extending a few things in core. Here's a patch to add the new extensions for syntax-rules. The first is the ability to disable the special meaning of ellipsis in template forms by starting a list subform with an ellipsis