Branch: Tag:

2012-07-06

2012-07-06 17:45:56 by Martin Stjernholm <mast@lysator.liu.se>

Fixed formatting error for _Roxen.html_encode_string (Int.NATIVE_MIN).

492:    char buf[21], *b = buf+19;    int neg, j=0;    INT_TYPE i = Pike_sp[-1].u.integer; -  pop_stack(); +     if( i < 0 )    {    neg = 1;    i = -i; -  +  if (i < 0) { +  /* The largest negative number cannot be negated. */ +  o_cast_to_string(); +  return;    } -  +  }    else    neg = 0; -  +  pop_stack();       buf[20] = 0;