Robert Webb wrote: > I believe it's the same on all systems. qsort() just > compares the sign.
Of course it would be impossible to check every qsort() on all systems(), but the fact that strcmp() uses that logic is a pretty good sign (!) that qsort() will as well. However, as others have pointed out, the compare function must return a valid (not overflowed) int. John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---