>>>> Stephen wrote:
Stephen> Please use classic C comments. We should still build on
Stephen> compilers that don't allow C++ comments in C.
This patch isn't intended to work. ;-) It is just my notes from
hacking way. (But I'll try to remember that it is C and not C++ in the
future.)
> + memcmp (ptr, ((char*)ptr + 1), len - 1);
Stephen> This is bad; AFAIK Rawbyte is a typedef for char. That may not be
Stephen> true for C++, in which case this might need to be conditionally
Stephen> compiled for C++.
ptr is void. Arithmetic with void is, apparently, forbidden in
C++. What does + 1 mean to a void? So either fix the ptr so it is a
type which has defined arithmetics, size!?, or fool it with a cast.
Stephen> I'm sure I fixed this correctly, ...
Stephen> and this, too. Are you sure your sources are up-to-date?
Yes. I did cvs up before and I checked with a cvs up now after and I
have no sticky Tag set. So the sources seems to be up to date.
Stephen> and something that looked an awful lot like this.
Stephen> This is the one that Ivan caught.
Yes.
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta