[Chicken-users] debian package

2010-02-14 Thread F. Wittenberger
Hi, find attached a diff against git, which successfully builds .debs for ubuntu (chicken version 4.3.5). /Jörg diff --git a/debian/changelog b/debian/changelog index 28b97b5..da00ad4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +chicken (4.3.5-0.1) unstable; urgency=low

[Chicken-users] thread-signal!

2010-02-14 Thread F. Wittenberger
Hi, I found thread-signal not properly working when the target thread is in sleeping state. The attached patch fixes the issue. /Jörg diff --git a/srfi-18.scm b/srfi-18.scm index f7c3324..205820d 100644 --- a/srfi-18.scm +++ b/srfi-18.scm @@ -58,6 +58,9 @@ (syntax-rules () ((_ . _)

[Chicken-users] Spiffy Question: handle-not-found

2010-02-14 Thread Taylor Venable
Hi, I'm using Spiffy and setting handle-not-found in an attempt to use Spiffy like a generic URL-based dispatcher. For example, when the user requests /foo/bar I want to send back the result of calling function x, and when the user requests /asdf/jkl I want to send back the result of calling

Re: [Chicken-users] Spiffy Question: handle-not-found

2010-02-14 Thread Peter Bex
On Sun, Feb 14, 2010 at 11:39:18AM -0500, Taylor Venable wrote: The Spiffy documentation says about the value of handle-not-found: It is a procedure of one argument, the path (a string) that was requested. However, it seems that the actual argument is the path, up until the first component

Re: [Chicken-users] Spiffy Question: handle-not-found

2010-02-14 Thread Taylor Venable
I made a mistake when copying this example from the real source code; it should have read: (handle-not-found (lambda (path) (log-to (debug-log) REQUEST: ~s path) (cond ((string=? path /foo/bar); s/uri/path/ (x)) ((string=? path /asdf/jkl) ; s/uri/path/