delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/24/17:05:05

Message-ID: <388CBC09.57C891DA@cyberoptics.com>
From: Eric Rudd <rudd AT cyberoptics DOT com>
Organization: CyberOptics
X-Mailer: Mozilla 4.08 [en] (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: qsort() bug? Or invalid usage???
References: <R0Gh4.2371$Ll5 DOT 3502 AT news2 DOT randori DOT com> <867gpd$k0u$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <388758A7 DOT 1B64BDF9 AT cyberoptics DOT com> <388824A4 DOT 7E8CA268 AT is DOT elta DOT co DOT il> <869q6i$ika$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <38887BFB DOT 2D3FA7A6 AT cyberoptics DOT com> <388892F6 DOT 80148238 AT is DOT elta DOT co DOT il>
Lines: 16
Date: Mon, 24 Jan 2000 14:54:33 -0600
NNTP-Posting-Host: 38.196.93.9
X-Trace: client 948747273 38.196.93.9 (Mon, 24 Jan 2000 15:54:33 EST)
NNTP-Posting-Date: Mon, 24 Jan 2000 15:54:33 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:

> Eric Rudd wrote:
> > I will try it out with the new qsort, to see if the problems have been resolved.
>
> If you still see problems, please report them.

I tried both the BSD qsort and the K.B. Williams qsort over the weekend, with the
array containing many duplicate values, and a little random noise added to the
comparison function.  This produced array overflows with the BSD qsort, but the K.B.
Williams version behaved just fine.  Thus, the problem the original poster had must
have been due to something else.

-Eric Rudd
rudd AT cyberoptics DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019