From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: qsort() bug? Or invalid usage??? Organization: Pin Eight Software Message-ID: References: <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> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 X-Trace: /wmC6AjgWgHiktMDANc1DKXYvkNEoFcfTSiuF2DC3DDDCFs1ajVPvHDOwlLNROpzOZEjvFN0eaoC!hP4x+fPQfuahWBf9iaFxYuKIWwUgOGbU9A0h/O5fPLqER4AN+10UxXxFnwdPchD6VzVglvkf6g== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 21 Jan 2000 13:35:35 GMT Distribution: world Date: Fri, 21 Jan 2000 13:35:35 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote in message <388824A4 DOT 7E8CA268 AT is DOT elta DOT co DOT il>... >AFAIK, ANSI C explicitly allows to access an array one element >before the first one, provided that you don't write there. Which can potentially produce page faults and segfaults. -- Damian Yerrick http://yerricde.tripod.com/ View full sig at http://www.rose-hulman.edu/~yerricde/sig.html Comment on story ideas at http://home1.gte.net/frodo/quickjot.html And yes, I have set my attribute line to emulate Outhouse Express.