From: oberman@icaen.llnl.gov
Subject: V2.0 qsort() problem?
Date: Fri, 21 Oct 94 18:11:51 GMT [thread overview]
Message-ID: <388smb$948@lll-winken.llnl.gov> (raw)
I have a problem with the V2.0 qsort() library routine.
qsort(topics, num_topics, sizeof topics[0], strcmp);
All of the arguments look good prior to call, but the sort is seemingly
random. The records are re-ordered, but not in any sequence I can make sense
out of. And worse, some entries are duplicated and others lost!
Is anyone aware of this problem. And is there another version that I might be
able to get that works correctly?
R. Kevin Oberman
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov +1 510-422-6955
next reply other threads:[~1994-10-21 18:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-10-21 18:11 oberman [this message]
1994-10-24 18:36 ` V2.0 qsort() problem? Peter Sherwood
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox