Comment 2 for bug 710915

Revision history for this message
Ralph Corderoy (ralph-inputplus) wrote :

The code in 10.10 explicitly abort(3)s instead of generating an error.

aspell-0.60.6/lib/find_speller.cpp:
   375 //
   376 // Retrieve size
   377 //
   378 str = config->retrieve("size");
   379 p = str.data.c_str();
   380 if (p[0] == '+' || p[0] == '-' || p[0] == '<' || p[0] == '>') {
   381 b_size.req_type = p[0];
   382 ++p;
   383 } else {
   384 b_size.req_type = '+';
   385 }
   386 if (!asc_isdigit(p[0]) || !asc_isdigit(p[1]) || p[2] != '\0')
   387 abort(); //FIXME: create an error condition here
   388 b_size.requested = atoi(p);
   389 b_size.init();