[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

Module name:	src
Changes by:	millert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2002/07/08 14:23:14

Modified files:
	lib/libc/gen   : opendir.c 

Log message:
Use qsort() instead of mergesort() since the latter can fail due
to malloc().  opendir() requires a stable sort so we rig the compare
routine to never return 0.  From Lars J. Buitinck