Mail Archives: djgpp-workers/2003/01/11/05:30:20
Hello.
Martin Str|mberg wrote:
>
> According to Eli Zaretskii:
> > > From: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk>
> > > + If @var{dest} and @var{src} are overlapping buffers, the behavior
> > > + is undefined.
> >
> > What does this mean, exactly? The specific implementation we have is
> > deterministic, right? So it is possible to tell exactly what does it
>
> Probably. I think he's talkning about C standard undefined behaviour.
Yes.
> > do when the buffers overlap, right? If so, I think we should describe
> > the actual behavior of our implementation.
>
> That's a good idea. But might not say much ("if they do, your code
> might do anything; at least one of the effects being writing over
> memory way out of bounds").
I'm not so sure that's a good idea. See my other mail.
Thanks, bye, Rich =]
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -