freebsd-dev/sbin/gbde
Maxim Sobolev 6122c0cd5e o Fix semantics of comparison function for qsort(3). According to qsort(3)
manpage:

     The comparison function must return an integer less than, equal to, or
     greater than zero if the first argument is considered to be respectively
     less than, equal to, or greater than the second.

  Therefore, simply returning "arg1 > arg2" is incorrect. Actually it works
  but for the number of items to be sorted less than 7 due to special case
  handling in qsort(3);

o add missing '\n' to one of usage() calls.

Approved by:	phk
2004-06-25 13:04:49 +00:00
..
gbde.8 Fix typo 2004-05-23 08:40:52 +00:00
gbde.c o Fix semantics of comparison function for qsort(3). According to qsort(3) 2004-06-25 13:04:49 +00:00
image.uu Improve regression test with an image file which must work. 2003-10-07 09:31:51 +00:00
Makefile Make the regression test run also with obj directories. 2003-10-17 19:52:07 +00:00
template.txt
test.sh Fix the last and most important bit of the test case to test the same 2004-02-07 22:58:39 +00:00