Re: valgrind error

2003-10-11 Thread Sigbjorn Finne
Thanks for the report. That unnecessary copying operation was removed in HEAD a couple of months back; the upcoming 6.2 release includes the changes. --sigbjorn - Original Message - From: "Abraham Egnor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 11, 2003 08:07 S

valgrind error

2003-10-11 Thread Abraham Egnor
Just for fun, I decided to run valgrind on the "empty program", i.e. main = return (), compiled with ghc 6.0.1. Much to my surprise, it found an error: ==21117== Source and destination overlap in strcpy(0xbc02, 0xbc04) ==21117==at 0x40021E99: strcpy (mac_replace_strmem.c:87) ==21117==