| delorie.com/archives/browse.cgi | search |
| Date: | Tue, 02 Sep 2003 20:12:55 +0200 |
| From: | "Eli Zaretskii" <eliz AT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | "Melvin Curran" <Melvin AT HME DOT Ltd DOT uk> |
| Message-Id: | <7458-Tue02Sep2003201254+0300-eliz@elta.co.il> |
| X-Mailer: | emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 |
| CC: | djgpp-workers AT delorie DOT com |
| In-reply-to: | <F1A9C8D7A58D1B45A9C16FE7E3DA83D7021890@server.HME.hme.ltd.uk> |
| (Melvin AT HME DOT Ltd DOT uk) | |
| Subject: | Re: Non-compliant strxfrm |
| References: | <F1A9C8D7A58D1B45A9C16FE7E3DA83D7021890 AT server DOT HME DOT hme DOT ltd DOT uk> |
| Reply-To: | djgpp-workers AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp-workers AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Tue, 2 Sep 2003 14:36:13 +0100
> From: "Melvin Curran" <Melvin AT HME DOT Ltd DOT uk>
>
> In that case, a couple of minor changes to the function and we are
> left with the function below.
Thanks, but I think this needs some further work, since this fragment:
if (--n)
*dst++ = c;
seems to dereference dst even if n is zero. The standard forbids
that, see our prior discussions in this thread.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |