From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9999f36386daee68,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-10-25 15:12:56 PST Path: nntp.gmd.de!xlink.net!fauern!kue!lrz-muenchen.de!informatik.tu-muenchen.de!zib-berlin.de!news.th-darmstadt.de!terra.wiwi.uni-frankfurt.de!zeus.rbi.informatik.uni-frankfurt.de!news.dfn.de!Germany.EU.net!EU.net!howland.reston.ans.net!europa.eng.gtefsd.com!news.mathworks.com!noc.near.net!chaos.dac.neu.edu!narnia.ccs.neu.edu!gbcacm From: gbcacm@ccs.neu.edu (Peter Sherwood) Newsgroups: comp.unix.osf.osf1 Subject: Re: V2.0 qsort() problem? Date: 24 Oct 1994 18:36:49 GMT Organization: College of Computer Science, Northeastern University. Message-ID: <38gus1$r8g@narnia.ccs.neu.edu> References: <388smb$948@lll-winken.llnl.gov> NNTP-Posting-Host: denali.ccs.neu.edu X-Newsreader: TIN [version 1.2 PL2] oberman@icaen.llnl.gov wrote: : I have a problem with the V2.0 qsort() library routine. : qsort(topics, num_topics, sizeof topics[0], strcmp); Under v3.0, qsort works OK. I suggest you verify that the type of each argument in your call matches the qsort prototype, and make a test run with an array of integers, writing your own key comparison function. ----------------------------------------------------------------------------- Peter Sherwood (617) 332-8880 (voice) (617) 332-1675 (fax) gbcacm@ccs.neu.edu -----------------------------------------------------------------------------