www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/21/12:49:35

From: Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: qsort() bug? Or invalid usage???
Organization: Pin Eight Software <http://pineight.8m.com/>
Message-ID: <gvng8sovh3fuidlrg7opdat87foouv4974@4ax.com>
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>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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 <eliz AT is DOT elta DOT co DOT il> 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.

- Raw text -


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