[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5578) sortvals error

I have uploaded a proposed fix for this:


My reasoning is that the break statement terminates the loop before
the last value in the list has been compared with the assertion value.
Thus, even if the last value matches, the loop ends with -1 in 'match'.

|                 From Andrew Findlay, Skills 1st Ltd                 |
| Consultant in large-scale systems, networks, and directory services |
|     http://www.skills-1st.co.uk/                +44 1628 782565     |