Branch: Tag:

2002-01-31

2002-01-31 16:49:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 2725].

Rev: lib/modules/Array.pmod:1.60

471:    if( (<'0','1','2','3','4','5','6','7','8','9'>)[a[i]] != state )    {    state = !state; -  if( i ) +     if( state )    aa += ({ a[oi..i-1] });    else
490:    if( (<'0','1','2','3','4','5','6','7','8','9'>)[b[i]] != state )    {    state = !state; -  if( i ) +     if( state )    bb += ({ b[oi..i-1] });    else
510:    if( aa[i] > bb[i] ) return 1;    }    -  return 0; +  // Either equal, or bb is longer. +  +  return -(sizeof(aa)<sizeof(bb));   }      //! Sort comparison function that does not care about case, nor about