[CM] Re: A couple of tiny CM fixes

Rick Taube taube@uiuc.edu
Wed, 27 Jul 2005 07:30:18 -0500


thanks for the report ill fix it. cm's CVS is really unstable right now 
due to adding some new features, i hope to do a general cleanup in the 
next week or so.

On Jul 26, 2005, at 10:59 PM, Björn Lindström wrote:

> I just started playing with CM and ran into a couple of gotchas that
> should be fixed. Enjoy.
>
> First, Gauche seems to be strict on the form of case, so you have to 
> put
> the ":threaded" &c. within parenthesis, like below. This is how it 
> should
> be according to R5RS, so hopefully it won't break it for any other
> interpreters.
>
> diff -r1.24 scheduler.scm
> 747,748c747,748
> <              (:threaded (thread-start! wrapper))
> <              (:periodic (add-periodic-task! :receive wrapper)))))
> ---
>>              ((:threaded) (thread-start! wrapper))
>>              ((:periodic) (add-periodic-task! :receive wrapper)))))
> 752,753c752,753
> <              (:threaded (thread-start! wrapper))
> <              (:periodic (add-periodic-task! stream wrapper))))))
> ---
>>              ((:threaded) (thread-start! wrapper))
>>              ((:periodic) (add-periodic-task! stream wrapper))))))
>
>
> Also, cm.sh uses bash-specific functionality, which makes it break on
> systems where /bin/sh is not a link to bash, such as BSD systems, so 
> its
> #!-line should say "/bin/bash". Also, if I read the bash man page
> correctly, the '-' doesn't actually have any effect there.
>
> diff -r1.46 cm.sh
> 1c1
> < #!/bin/sh -
> ---
>> #!/bin/bash