Blog
Oh that can't be good...
Date: 28/6/2004
You know, sometimes when coding I do some really dumb things.

Dumb thing for this week:
memmove(p + Index, p + Index + 1, (len - Index - 1) & sizeof(Type) );
Should be:
memmove(p + Index, p + Index + 1, (len - Index - 1) * sizeof(Type) );
I caught this one because I was porting my Array object to D. Fortunately I don't think any of my code was actually using it yet, as it was a new method in Lgi.
 
Reply
From:
Email (optional): (Will be HTML encoded to evade harvesting)
Message:
 
Remember username and/or email in a cookie.
Notify me of new posts in this thread via email.
BBcode:
[q]text[/q]
[url=link]description[/url]
[img]url_to_image[/img]
[pre]some_code[/pre]
[b]bold_text[/b]