[BACK]Return to qsort.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / stdlib

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/stdlib/qsort.c between version 1.11 and 1.12

version 1.11, 1999/09/16 11:45:35 version 1.12, 1999/09/20 04:39:40
Line 114  qsort(a, n, es, cmp)
Line 114  qsort(a, n, es, cmp)
   
         _DIAGASSERT(a != NULL);          _DIAGASSERT(a != NULL);
         _DIAGASSERT(cmp != NULL);          _DIAGASSERT(cmp != NULL);
 #ifdef _DIAGNOSTIC  
         if (n == 0)  
                 return;  
         if (a == NULL || cmp == NULL)  
                 return;  
 #endif  
   
 loop:   SWAPINIT(a, es);  loop:   SWAPINIT(a, es);
         swap_cnt = 0;          swap_cnt = 0;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

CVSweb <webmaster@jp.NetBSD.org>