Fri Apr 8 11:02:38 EDT 2005 rsc This would have been a lot easier to follow with a better explanation. reread() doesn't take any arguments at all. The problem is that mapname, which might point at an argument or a static string, is assumed to be a 256-byte buffer, which it isn't. Thanks for the patch.