[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in mac speech server



In short, the braces around the argument were being sent to the command, which caused it to fail when trying to cast the argument to an int.

Long explanation: the server wasn’t checking for an _ when trying to match the command to a form with braces. In effect, this meant the server was assuming the braces were included in the argument. I’ve attached a patch to fix this if Bart or David or Raman if they want it.
Haden

Attachment: fix-braced-commands.patch
Description: Binary data

> On Jul 24, 2015, at 12:43 AM, Tyler Spivey <tspivey@pcdesk.net> wrote:
> 
> As I found out while trying to make yasr work, the following will crash
> the mac speech server:
> tts_set_speech_rate {300}
> 
> -----------------------------------------------------------------------------
> To unsubscribe from the emacspeak list or change your address on the
> emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a
> subject of "unsubscribe" or "help".
> 



If you have questions about this archive or had problems using it, please send mail to:

priestdo@cs.vassar.edu No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog | Search the archive